Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

},


Former Member
replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question