|
|
|
|
|
Re: X-axis labels for chart [message #1117516 is a reply to message #1116652] |
Thu, 26 September 2013 10:26  |
Eclipse User |
|
|
|
Here's the description of the function that you get when you select it from the drop down in the chart script area:
/**
* Called before rendering each label on a given Axis.
*
* @param axis
* Axis
* @param label
* Label
* @param icsc
* IChartScriptContext
*/
It's a standard function that allows you to modify the chart. If you select your chart and go to the script area, you'll see a drop down of functions at the top. If you select one, it will add it to the script area. As far as what the rest of the code does, it is checking the first several characters of the text axis (the x-axis) and changing the label value based on a comparison to the previous label value. Hope this helps.
|
|
|
Powered by
FUDForum. Page generated in 0.25061 seconds