Dec 22, 2016, 9:41 AM
[CLOSED] Chart Legend Renderer
Hi
I have a chart (bar series) which is populated using a pivot, the chart itself is dynamic and it responds to various click events on the segments in order to provide drill down functionality. In order to provide this I need to store in the model both the the ID and the Name from the database so something like this "1|Henry". In this example "Henry" is what needs to be displayed in the legend.
For the Axis Label and the tooltips it is easy enough to split out the id and just display the label but I do not see a way of doing this for the legend as I do not see a "Legend Label Renderer".
On the bar series I see a titles property which I could probably use but would rather just use some sort of renderer on the legend labels.
Ta,
D
I have a chart (bar series) which is populated using a pivot, the chart itself is dynamic and it responds to various click events on the segments in order to provide drill down functionality. In order to provide this I need to store in the model both the the ID and the Name from the database so something like this "1|Henry". In this example "Henry" is what needs to be displayed in the legend.
For the Axis Label and the tooltips it is easy enough to split out the id and just display the label but I do not see a way of doing this for the legend as I do not see a "Legend Label Renderer".
On the bar series I see a titles property which I could probably use but would rather just use some sort of renderer on the legend labels.
Ta,
D
Last edited by fabricio.murta; Dec 22, 2016 at 2:06 PM.