Peter

Members
  • Content count

    7
  • Joined

  • Last visited

About Peter

  • Rank
    Forum Newbie
  1. Hiding zero in Stacked Column

    This v3.2.2 Development Beta version has fixed the bug that I report. Thank you for your fast response. Please notify me when a full release is available. Peter
  2. Hiding zero in Stacked Column

    I can confirm that I use Fusion Chart v3.2.1 Play with different data set, I realize the bug was triggered when the first value within a dataset is empty. For example: Example 1: This one does NOT work (the first value inside a dataset is empty) {"chart": {"caption": "My caption"}, "categories": [{"category": [{"label": "Product A"},{"label": "Product B"},{"label": "Product C"}]}], "dataset": [ { "seriesname": "2004", "color": "AFD8F8", "showvalues": "0", "data": [ { "value": "700" }, { "value": "50" }, { "value": "173" }] }, { "seriesname": "2006", "color": "8BBA00", "showvalues": "0", "data": [ { "value": "" }, { "value": "100" }, { "value": "52" }] } ] } Example 2: This one works (the second value inside a dataset is empty) {"chart": {"caption": "My caption"}, "categories": [{"category": [{"label": "Product A"},{"label": "Product B"},{"label": "Product C"}]}], "dataset": [ { "seriesname": "2004", "color": "AFD8F8", "showvalues": "0", "data": [ { "value": "700" }, { "value": "50" }, { "value": "173" }] }, { "seriesname": "2006", "color": "8BBA00", "showvalues": "0", "data": [ { "value": "100" }, { "value": "" }, { "value": "52" }] } ] } Example 3: This one works (the first value inside a dataset is 0) {"chart": {"caption": "My caption"}, "categories": [{"category": [{"label": "Product A"},{"label": "Product B"},{"label": "Product C"}]}], "dataset": [ { "seriesname": "2004", "color": "AFD8F8", "showvalues": "0", "data": [ { "value": "700" }, { "value": "50" }, { "value": "173" }] }, { "seriesname": "2006", "color": "8BBA00", "showvalues": "0", "data": [ { "value": "0" }, { "value": "100" }, { "value": "52" }] } ] } I'd like to make the first example working, that is, empty value should be used regardless where it is within the dataset.
  3. Hiding zero in Stacked Column

    Using <set value="" /> make it works with the Flash version of stacked pie chart. However, the HTML5 / JavaScript stacked pie chart went wrong unless I used '<set value="0" />'. Is there a way to fix it? I want to use the Stacked bar chart using JavaScript solution but it should not show any line when the value is 0. Currently I use Fusion Chart 3 licensed version.
  4. From v3, we have method setCurrentRenderer and can specify 'javascript' to force the chart to be rendered in HTML5. I wonder if there is any method (for example, getCurrentRenderer() ) to check whether a chart was renderer with Flash or javascript. If there is none, I would suggest this feature in future release because it may be useful for developers to get more control of interaction with the chart. My thought is that getCurrentRenderer() should be a method that can be called per FusionChart object.
  5. I just find out the issue with the height. Once you added the attribute borderThickness into the chart, it caused the calculation wrong. For example, with your JSSmall example, I update the JSON data as following: { "chart": { "caption" : "Sales Summary", "borderThickness": "0" }, "data": [ {"value":"45"}, {"value":"60"}, {"value":"70"}, {"value":"20"} ] } Run it and see the charts size going wrong. Of course, I can live without using borderThickness attribute, but it is better for it to be fixed so that it can work in the same way as Flash version. Thanks.
  6. I have used the latest update (licensed version). It fixed the issue with decimal value but not the size of Pie chart. The height of the chart is longer, and causes the chart overlaying any content after the chart. Anyway, thank you for fast response.
  7. I have exactly the same problem with the Pie chart's decimal value in HTML5 My XML is: <chart showBorder='1' enableRotation='1' showPercentageValues='1' showLabels='0' showValues='1' numberSuffix='%25' borderThickness='0' borderColor='ffffff' bgColor='ffffff' bgAlpha='100' palette='5' forceDecimals='2' decimals='2'> <set color='FF6666' label='190 govt, 182 ngov : 372 total' value='45' /> <set color='FFA500' label='156 govt, 107 ngov : 263 total' value='32' /> <set color='66ff66' label='124 govt, 73 ngov : 197 total' value='24' /> </chart> Two problems that I have are: 1 - Value is not formatted with decimal value Using forceDecimal=2 or decimal=2 or decimalPrecision=2 only works correctly with the value appeared in the tooltip, but not the value shown on each slice. See attachment. 2 - Size of pie chart: I set the chart to be rendered with width=250 and height=250. However, the HTML5 result of this pie chart turns to be 250x400. The height, I guess, was auto calculated to include the text 'FusionCharts - Highcharts'. I'm currently using the evaluation version of FusionCharts. Not sure if it is something to do with this issue.