ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  The font of the title
Posted by dan on Aug-07-2009 07:04
Hi Peter,

I wonder if the font of the chart title can be not font.
I am using the following code to generate the chart title (in python):

my_chart.yAxis().setLabelStyle("arial.ttf")
my_chart.yAxis().setTitle("title")

And it looks the title is still shown in bold even the values on the y axis are not.

Thanks,

Dan

  Re: The font of the title
Posted by dan on Aug-07-2009 07:05
Sorry. I mean set the font of the chart title to be not bold

  Re: The font of the title
Posted by Peter Kwan on Aug-07-2009 13:32
Hi dan,

The font of the title can be configued using BaseChart.setTitle. For example:

#Set title using Arial 8pt black font
my_chart.yAxis().setTitle("title", "arial.ttf", 8, 0x000000)

Hope this can help.

Regards
Peter Kwan

  Re: The font of the title
Posted by dan on Aug-07-2009 22:37
Hi, Peter,

Thanks a lot!

Dan