I’ve created a pareto chart (from the Bar Chart component) in the reporting module and want to display labels for each of the points on the percentage line. There only appears to be an option for bar labels and not the line. I’ve tried the code referenced in this forum post: Display Label on Each point of an XYChart . I’ve tried changing the references to XYChart into the relevant Category references and have only been able to get labels to show up for the bars like the property tab checkbox does. I’m not sure if there is a different property or method I should be using, or if there is documentation somewhere on how the jfree chart library is used to build the pareto graph I could reference for better understanding. Any guidance on this greatly appreciated!
You just need to specify the renderer in Phils code in the topic you linked.
renderer = chart.plot.getRenderer(1)
2 Likes
It works, thank you!