Customizing the font properties
You can also customize the font face, size and color of all the text in the chart captions, data labels, values, and so on. This is done using the baseFont, baseFontSize
, and baseFontColor
attributes all of which are self-explanatory.
All the text on the chart can be classified into two the values and the tooltips inside the canvas, and all the labels and the captions outside it. There are times when you want to increase the font size of all the text on the chart but the chart can get a little cluttered when the size of the data values next to the data plots are increased as well. In such cases, you can selectively control only the text outside the canvas using the outCnvBaseFont, outCnvBaseFontSize
, and outCnvBaseFontColor
attributes. The outside canvas font properties override the base font properties for text outside the chart.