Font style
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Font style Expand / Collapse
Author
Message
Posted 11/9/2007 8:22:03 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/9/2007 8:16:34 AM
Posts: 2, Visits: 4
can someone help me to find out how i can change the font styles to be
bold on value and category. it will be nice to have some examples for how it works
in xml.

<graph caption='' 
xAxisName='Politiske partier'
canvasBgColor='FFFFFF'
canvasBaseColor='666666'
hovercapbgColor='FFFFFF'
hovercapborder='F47E00' 
numberSuffix='%25'
baseFontSize='12'
canvasBgDepth='0'
canvasBaseDepth='2'
yAxisMinValue='0'
yAxisMaxValue=''
formatNumber='0'
formatNumberScale='1'
decimalSeparator='.'
decimalPrecision="1"

>

   <categories>
        <category name='A' />
        <category name='B' />
        <category name='C' />
        <category name='F' />
        <category name='K' />
        <category name='O' />
        <category name='V' />
        <category name='Y' />
        <category name='Ø' />
        <category name='?' />
   </categories>
 
   <dataset seriesname='De grå søjler viser valgresultatet fra 2005' color='CCCCCC' showValues='0'>
      <set value='25.8' />
      <set value='9.2'  />
      <set value='10.3' />
      <set value='6.0' />
      <set value='1.7' />
      <set value='13.3' />
      <set value='29.0' />
      <set value='0.0' />
      <set value='3.4' />
      <set value='1.3' />
   </dataset>
      <dataset>
         <set value='24.2' color='FF3300' />
         <set value='6.1'  color='6699FF' />
         <set value='9.4'  color='009900' />
         <set value='11.9'  color='CC66FF' />
         <set value='1.5'  color='66CC66' />
         <set value='11.2'  color='FFCC33' />
         <set value='27.6'  color='333399' />
         <set value='4.7' color='999900' />
         <set value='3.3' color='FF9900' />
         <set value='0.1'  color='99CCCC' />
      </dataset>
</graph>



Cevik
Post #2999
Posted 11/10/2007 10:36:56 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 5:59:55 AM
Posts: 578, Visits: 882
HI,
there u go..
 
<styles>
 <definition>
            <style name='MyFirstFontStyle' type='font'  bold='1' face='Verdana' size='12' color='FF0000' bgColor='FFFFDD' isHTML='1' />
      </definition>
      <application>
            <apply toObject='DATALABELS' styles='MyFirstFontStyle' />
            <apply toObject='DATAVALUES' styles='MyFirstFontStyle' />
</application>
</styles>
 
 
 
It has all font bold set...as well as settings for font type, color, font background color size etc.
 


Regards,

Sudipto Choudhury
FusionCharts Team
Post #3006
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 3:36am


Execution: 0.063.