Skip to Content
avatar image
Former Member

change legend name in vizframe

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

},


vizframe.png (21.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 21, 2015 at 06:50 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2015 at 07:20 AM
    Add comment
    10|10000 characters needed characters exceeded