on 10-20-2015 8:05 AM
Hi guys,
I have been messed about vizframe for two days, and I am now stuck with legend .
it seems that the label name in legend are assigned to by property in data, I have not found, after reading doc thoroughly, any way to change the text, during the create of vizframe.
the following is an example that I would like to change legend in.
[{
"Store Name": "24-Seven",
"Revenue": 428214.13,
"Cost": 94383.52,
"Consumption": 76855.15368
},
{
"Store Name": "A&A",
"Revenue": 1722148.36,
"Cost": 274735.17,
"Consumption": 310292.22
},
{
"Store Name": "Alexei's Specialities",
"Revenue": 1331176.706884,
"Cost": 233160.58,
"Consumption": 143432.18
},
Hi Torren,
In your Flattened Dataset --> measures , there is a name property. Provide the name that you want to display on legend.
Sample --> JS Bin - Collaborative JavaScript Debugging
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
I read the thread before,
unfortunately, the code in jsbin has been removed, and the answer by Stefan Fuchs does not work for me
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.