dvdutra

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by dvdutra


  1. Hi, I'm triyng to plot a chart with percentage values, but when the value is below 1% it's displayed incorrectly on mouse over.

     

    See the xml below, the second (fev/12) value is 1,64% and is displayed correctly in the chart, but the first value (jan/12), that should be 0,89%, is displayed incorrectly (it's displayed 0,01, without the '%' symbol after the number)

     

    Is there a way to fix this?

     

    I attached a screenshot.

    <chart decimals='2' forceDecimals='1' decimalSeparator=',' inDecimalSeparator=',' numberScaleValue='.01' numberScaleUnit='%'>
    
    <categories>
    <category label='jan/12' />
    <category label='fev/12' />
    <category label='mar/12' />
    <category label='abr/12' />
    ...
    
    <dataset seriesname='CDI YTD' renderas='Area' color='d9d9d9' alpha='70' showPlotBorder='0'>
    <set value=',00887327' />
    <set value=',01635646' />
    <set value=',02459936' />
    <set value=',03180139' />
    ...
    
    </chart>
    

    Tks!

     

    post-62294-0-59371000-1406751520_thumb.png


  2. Hi, I'm trying to export the data from the chart using the context menu (to paste in Excel).

    <chart...  showExportDataMenuItem='1' exportDataSeparator='{tab}'>

    I'm in Brazil and here is used comma as decimal separator, so I'm using the 'decimal option' to read the data from xml and to show the numbers in chart, and it's working perfectly in the chart.

    <chart... inDecimalSeparator=',' decimalSeparator=','>

    But when I try to use the context menu to copy data from chart and paste in Excel the values comes with dot as decimal separators.

     

    Is there any option to configure the "Copy data to clipboard" to export values with comma as decimal separator?

     

    Tks!


  3. Hi,
     
    I´m using the same code to render a Pie Chart using Flash and using Javascript (the only difference is "FusionCharts.setCurrentRenderer('javascript');}" to force Javascript), but I´m getting different results.
     
    The Flash Chart shows exactly what I want, but the Javascript Chart doesn't show percentage in labels, as shown in images.
     
    The showPercentageInLabel='1' doesn't work in Javascript?
     
    Tks!
     
    code:
    <script type="text/javascript">
    	var myChart = new FusionCharts( "../../FusionCharts/Pie2D.swf", "myChartId1", "240", "240", "0", "1" );
    	myChart.setXMLUrl("../data/data.xml");
    	myChart.render("top5_pizza");
    </script>
    

    data.xml:

    <chart animation='0' caption='Entradas' subcaption='Referenciado: 172' pieRadius='55' showPercentInToolTip='0' decimals='0' forceDecimals='0' decimalSeparator=',' thousandSeparator='.' slicingDistance='8' showPercentageInLabel='1' formatNumberScale='0' showValues='1' showLabels='0' bgColor='FFFFFF' showBorder='0' startingAngle='90' showLegend='1' legendShadow = '0' legendBorderColor = 'ffffff' smartLineColor = 'ffffff'>
    <set label='Outros' value='72' color='E3E3E3' />
    <set label='Referenciado' value='100' color='043C6B' isSliced  = '1' />
    </chart>
    

    post-62294-0-72099900-1385673264_thumb.png

    post-62294-0-59937300-1385673271_thumb.png