psike
Members-
Content count
3 -
Joined
-
Last visited
About psike
-
Rank
Forum Newbie
-
Good afternoon! I noted the following bug in the new version 3.11.0 some times, data in chart not shown. My example: FusionCharts.ready(function(){ var revenueChart3 = new FusionCharts({ "type": "column2d", "renderAt": "chart3", "width": "500", "height": "250", "dataFormat": "json", "dataSource": { "chart": { "showvalues": "1", "plotgradientcolor": "", "bgcolor": "FFFFFF", "showalternatehgridcolor": "0", "divlinecolor": "CCCCCC", "showvalues": "1", "showcanvasborder": "0", "canvasborderalpha": "0", "canvasbordercolor": "CCCCCC", "canvasborderthickness": "1", "captionpadding": "30", "linethickness": "3", "yaxisvaluespadding": "15", "legendshadow": "0", "legendborderalpha": "0", "palettecolors": "#008ee4,#6baa01,#f8bd19", "showborder": "1", "animation": "1", "caption": "Defects", "captionFontSize": "12", "numberPrefix": "", "numbersuffix": "%", "alignCaptionWithCanvas": "0", "formatNumberScale": "0", "formatNumber": "1", "exportEnabled":"1", "exportAtClient":"0", "exportHandler":"http://url/js/fusioncharts/export-handlers/php-export-handler/index.php", "exportAction":"download", "exportFormats": "PNG" }, "dataset": [{ "data": [ { "label": "2014", "value": "0.108" }, { "label": "2015", "value": "0.109" }, { "label": "2016", "value": "0.101" } ] }] } }); revenueChart3.render(); }) and finally chart doesn't show:
-
Thank you! FormatNumber solve the problem
-
Good afternoon! I noted the following bug in the new version 3.11.0 If the values on the Y axis are very small, sometimes there is no rounding, and unrounded number is displayed on the graph. Tried in different browsers - the problem persists. For example, here are the data for the graph: FusionCharts.ready(function(){ var revenueChart3 = new FusionCharts({ "type": "column2d", "renderAt": "chart3", "width": "395", "height": "250", "dataFormat": "json", "dataSource": { "chart": { "showvalues": "1", "plotgradientcolor": "", "bgcolor": "FFFFFF", "showalternatehgridcolor": "0", "divlinecolor": "CCCCCC", "showvalues": "1", "showcanvasborder": "0", "canvasborderalpha": "0", "canvasbordercolor": "CCCCCC", "canvasborderthickness": "1", "captionpadding": "30", "linethickness": "3", "yaxisvaluespadding": "15", "legendshadow": "0", "legendborderalpha": "0", "palettecolors": "#008ee4,#6baa01,#f8bd19", "showborder": "1", "animation": "1", "caption": "name graf", "captionFontSize": "12", "numberPrefix": "", "numbersuffix": "%", "alignCaptionWithCanvas": "0", "formatNumberScale": "0", "formatNumber": "0", "exportEnabled":"1", "exportAtClient":"0", "exportHandler":"http://ntc/js/fusioncharts/export-handlers/php-export-handler/index.php", "exportAction":"download", "exportFormats": "PNG=" }, "dataset": [{ "data": [ { "label": "2014", "value": "0.001" }, { "label": "2015", "value": "0.005" }, { "label": "2016", "value": "0.002" } ] }] } }); As well as a screen image: