Pages

set(String propertyName, Mixed value [, Boolean updateChart = true])

Parameters:
propertyName: Name of the property.
value: value to be set on property.
updateChart: When true, Updates the chart automatically after setting the value. Defaults to true.

Example :
chart.axisX[0].set(“text”, “some text” );

Note:

Chart should be rendered before you can use this method.

Because the chart updates each time set is called by default, it is recommended to disable auto update (set updateChart to false) till the last step if you have to set multiple properties. Otherwise it can affect performance because of repeated chart rendering. You can see an example below.