Search the Community
Showing results for tags 'categories'.
Found 2 results
-
Due to a system limitation, I can only produce "dataset":[{"label":"Desktop","seriesname":"A","value":"335000"}] instead of the below in the documentation. Anyway to configure it so that it will take the figures similar to my ideal case? Can someone suggest a workaround for me? I'm new to FusionCharts. Thanks in advance. "categories":[{ "category":[{ "label":"Desktop" }, { "label":"Laptop" }, { "label":"Notebook" } ] } ], "dataset":[{ "seriesname":"A", "data":[{ "value":"335000" }, { "value":"225100" }, { "value":"164200" } ] }, { "seriesname":"B", "data":[{ "value":"245000" }, { "value":"198000" }, { "value":"120000" } ] }, { "seriesname":"C", "data":[{ "value":"298000" }, { "value":"109300" }, { "value":"153600" }
-
Label "undefined" When There's Only One Category In Scrollcombidy2D
Primo Dang posted a topic in Bug Reports
In my company, we are using version 3.3.1, release 19520. I have a Scroll Combination 2D (Dual Y) Chart with dinamically generated data. When the chart has only one category, the category label is shown as 'undefined'. If another category is added to the XML (even if the second category has no label and no set data), the label appears normally. This didn't happen in the previous version we were using (3.2.4, release 8565). The chart is being created like this: var myChart = new FusionCharts("../pluginPath/ScrollCombiDY2D.swf", "chartId", 1518, 244, 0, 1, "FFFFFF", "noScale", "EN", "0", "1"); chart.setDataXML(data); chart.render(myDiv); This is the XML loaded into the data variable: <chart caption='Chart' PYAxisName='Value 1' SYAxisName='Value 2' labelDisplay='Rotate' slantLabels='1' useEllipsesWhenOverflow='0' showAlternateHGridColor='0' showvalues='0' decimals="1" decimalSeparator=',' inDecimalSeparator="," sDecimals="2" snumberSuffix='%' numVisiblePlot='10' baseFontColor='000000' canvasBorderColor='999999' showLimits='0' bgColor='FFFFFF' showBorder='0' PYAxisMinValue='0' PYAxisMaxValue='12' SYAxisMinValue='0' SYAxisMaxValue='120' legendPosition ='right' numdivlines='5' > <categories> <category label='Category 1' /> </categories> <dataset seriesName='Value 1' color="399E38"> <set value='6,63' tooltext="Category 1{br}Value 1: 6,63{br}Value 2: 91,53%" /> </dataset> <dataset seriesName='Value 2' parentYAxis='S' color="006CAD" renderAs="LINE" > <set value='91,53%' tooltext="Category 1{br}Value 1: 6,63{br}Value 2: 91,53%" /> </dataset> </chart> I attached the resulting charts for: 2 filled-out categories (correct-labels.png); 1 filled-out category and 1 empty category (empty-label;png); and 1 category (undefined-category.png) My company's clients are complaining about the undefined label cases, so please let me know if there is a solution available as soon as possible. Thanks is advance!