Change font size of graph caption
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Change font size of graph caption Expand / Collapse
Author
Message
Posted 3/24/2008 2:37:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/25/2008 9:17:10 AM
Posts: 2, Visits: 3
Is there any way I can change the graph caption font size within the script tag?

<script type="text/javascript">

myChart.setDataXML("<graph caption='Increase font of caption here'> ...

Thanks!

Post #5252
Posted 3/25/2008 9:39:30 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/25/2008 9:17:10 AM
Posts: 2, Visits: 3
As a follow up, the question on font size setting for the graph caption relates specifically to the pie chart.  The "outCnvBaseFontSize" styling properties does control font size outside the canvas (including but not limited to the graph caption for other types of graphs i.e. column graph).  However, I have yet to find similar setting parameters for the pie chart...
Post #5265
Posted 3/26/2008 7:31:08 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 1:21:47 AM
Posts: 675, Visits: 1,079
Hi,

Could you try using <styles> to define your own font specifications and apply it to caption object?

<styles>
<definition>
<style name='myFont1' type='font' size='15' color='ff0000' />
</definiton>
<application>
<apply toObject='CAPTION' styles='mYFont1'/>
</application>
</styles>

Note that thre are lots of other font attributes to set.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5286
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 9:44pm


Execution: 0.156.