Home
Analytics
Change the series label
Ingo
Hi,
just a short question:
Is it possible to change the series labels to a different column value from the same row? Or even combine multiple columns? I read something with "add another series and set it to invisble" but I don't know how can I access this series after all.
Thanks,
Ingo
Find more posts tagged with
Comments
JasonW
Can you try adding a computed column to your dataset that contains both columns? Then in your beforeDrawDataPointLabel script modfiy the computed column value to display what you want?
function beforeDrawDataPointLabel(dph, label, icsc)
{
var tst =label.getCaption().getValue();
var splits = tst.split("--", 2);
var newstr = splits[1];
label.getCaption().setValue(newstr);
}
Jason