how can i change font of chart or direction

Dec 24, 2011 at 12:51 PM

hi dear freind 

how can i change font of chart or direction  ?


please help 


thank you 

Dec 24, 2011 at 6:55 PM
Edited Dec 24, 2011 at 6:56 PM


You can try changing the font in <chartID>.CSSObject to change the font used for the chart.

As for the second question, I don't think I  really understand what you are trying to do here, but if this is the effect that you are looking for then you need to set the ' reversed ' property of your YAxisItem (or XAxisItem) to true.

Let us know if you face any problems.



Dec 24, 2011 at 7:01 PM
Edited Dec 24, 2011 at 7:03 PM

thank you by answer

my second question is direction of font 

example  float:right;


the better question is :

how can change css of chart ?

because some font  you use .

in my lanqueage is not compatible in all browser

Dec 26, 2011 at 8:21 AM

As I have suggested earlier, you can try changing the 'font' setting in 'style' of the chart's Appearance object.

Sample usage:

<chartID> = new CSSObject(){ font = "italic bold 12px/30px Georgia,serif" };

This should change the default font setting for your chart in one declaration. Please let us know if you continue to face problems.



Dec 26, 2011 at 12:42 PM

your code is not work 

but i change font in your sourcecode of your project 

then work fine

i have another problem 

the tooltip of piechart  not show word correct 

i dont use english word in tooltip 

but it have problem 

please help for this

Dec 28, 2011 at 7:49 AM

If you want a custom tooltip, you can download the latest change set from here and change <chartID>.Tooltip

The ToolTip chass also has an instance of CSSObject as its member, so similar to the example given above, you can also set the font for the Tooltip as follows

<chartID> = new CSSObject(){ font = "<your font>" };

This will let you set a custom font for your tooltip.