Report Designer XY Chart – Dynamic Best Efficiency Point Marker?

Hi all,

Using Ignition 8.1.43’s Report Designer, I’ve got an XY Chart showing pump flow vs head pressure (submersible pump test lab). Data comes from MySQL and the report is generated on demand.

Is it possible to add a dynamic crosshairs or marker at the best efficiency point on the chart, calculated from that run’s dataset? If so, can it be done with native chart options, or would it require a workaround?

Thanks!

Reports use JFreeChart to render charts, and you can customize them by enabling scripting:

A Google search of JFreeChart shape render for single point gives guidance on rendering particular shapes for certain plot points–you would just need to figure out which row and column of your dataset represents that best efficiency point.

2 Likes

Thank you for the help Ryan, I will attempt this approach as soon as I’m able to and let you know. Appreciate it greatly.

1 Like