AnsweredAssumed Answered

CCC Line Chart pointLabel_text values

Question asked by Lee Thurston on May 8, 2018
Latest reply on May 16, 2018 by Duarte Leao

I'm using Pentaho 5.4.0.6.154

I'm building a CCCLineChart (attached LineChart png) that uses the series as the line path, the category as the x-point, and the value as the y-point.

The y-axis and the y-point is being generated for me by Pentaho's protovis chart rendering magic. So far so good.

How can I change the x/y node's text value so it displays value2 rather than value?

 

As you can see in the attached (scene.datum.atoms png) image, the value of value2 is available, however there is no straightforward manner to assign that value to the pointLabel_text Extension Point.

I currently am trying to use the Pre Execution of the Chart (see code bock in attached ModifyLineChartExtensionPointLabelValues.txt).

Outcomes