Jerry Hsieh Report post Posted April 25, 2014 Hi All: I use json data to draw the chart (y axis min:50% max:100%) but when the chart is drawed,y axis always show [110%] like the attach picture now i don't want to show 110% in y axis , how to do it? thanks. the jsondata: "chart": { "yaxisminvalue": "50", "yaxismaxvalue": "100", "useRoundEdges": "1", "adjustdiv": "0", "decimals": "2", "setAdaptiveYMin":"1", "numdivlines":"5", "plotSpacePercent": "50", "staggerLines":"10", "connectnulldata": "0", "caption": "test", "linethickness": "2", "showvalues": "0", "areaovercolumns": "0", "numberSuffix": "%", "legendborderalpha": "30", "bgcolor": "FFFFFF", "plotgradientcolor": "", "formatNumberScale":"0", "showplotborder": "0", "divlineisdashed": "1", "divlinedashlen": "2", "divlinedashgap": "1", "canvasborderthickness": "1", "canvasborderalpha": "0", "legendshadow": "0", "anchorradius": "5", "anchorbgalpha": "50", "showalternatevgridcolor": "0", "showalternatehgridcolor": "0" }, "trendlines": [ { "line": [ { "startvalue": "100", "color": "6baa01", "displayvalue": "Target", "thickness": "2" } ] } Share this post Link to post Share on other sites
Sanjukta Report post Posted April 26, 2014 Hi All: I use json data to draw the chart (y axis min:50% max:100%) but when the chart is drawed,y axis always show [110%] like the attach picture now i don't want to show 110% in y axis , how to do it? thanks. the jsondata: "chart": { "yaxisminvalue": "50", "yaxismaxvalue": "100", "useRoundEdges": "1", "adjustdiv": "0", "decimals": "2", "setAdaptiveYMin":"1", "numdivlines":"5", "plotSpacePercent": "50", "staggerLines":"10", "connectnulldata": "0", "caption": "test", "linethickness": "2", "showvalues": "0", "areaovercolumns": "0", "numberSuffix": "%", "legendborderalpha": "30", "bgcolor": "FFFFFF", "plotgradientcolor": "", "formatNumberScale":"0", "showplotborder": "0", "divlineisdashed": "1", "divlinedashlen": "2", "divlinedashgap": "1", "canvasborderthickness": "1", "canvasborderalpha": "0", "legendshadow": "0", "anchorradius": "5", "anchorbgalpha": "50", "showalternatevgridcolor": "0", "showalternatehgridcolor": "0" }, "trendlines": [ { "line": [ { "startvalue": "100", "color": "6baa01", "displayvalue": "Target", "thickness": "2" } ] }i, Hi, Could you please try setting "yAxisMaxValue" to '100.00' and see if this helps? Hope this helps. Share this post Link to post Share on other sites
Jerry Hsieh Report post Posted April 28, 2014 Hi Sanjukta: I try to set the "yAxisMaxValue" to '100.00' but it still shows 110%... Share this post Link to post Share on other sites
Bindhu Report post Posted April 29, 2014 Hi, Can you please share the complete JSON data for testing purposes? Share this post Link to post Share on other sites
Jerry Hsieh Report post Posted May 6, 2014 i will fix the problem thanks a lot Share this post Link to post Share on other sites
Ashish sinha Report post Posted May 14, 2014 Hi All: I use json data to draw the chart (y axis min:0% max:100%) but when the chart is drawed,y axis always show [110%] like the attach picture now i don't want to show 110% in y axis , how to do it? . my json: { "ChartParams": [ { "chart": { "PYAxisName": "Rates in (CAD)", "SYAxisName": "Market Supply (Available)", "bgColor": "FFFFFF,FFFFFF", "canvasBgAlpha": "0", "caption": "Cheapest Rate Analysis (House Level)", "chartLeftMargin": "0", "chartRightMargin": "5", "decimals": "3", "labelDisplay": "AUTO", "legendBgAlpha": "0", "legendCaption": "Property(Change(%))", "legendPosition": "RIGHT", "lineThickness": "5", "sNumberSuffix": "%", "setAdaptiveSYMin": "1", "setAdaptiveYMin": "1", "showBorder": "0", "showTooltip": "1", "showValues": "0", "slantLabels": "0", "xAxisName": "Shop Dates" }, "categories": [ { "category": [ { "name": "06/06/2014" }, { "name": "06/07/2014" }, { "name": "06/08/2014" }, { "name": "06/09/2014" }, { "name": "06/10/2014" }, { "name": "06/11/2014" }, { "name": "06/12/2014" }, { "name": "06/13/2014" }, { "name": "06/14/2014" }, { "name": "06/15/2014" }, { "name": "06/16/2014" }, { "name": "06/17/2014" }, { "name": "06/18/2014" }, { "name": "06/19/2014" } ] } ], "dataset": [ { "parentYAxis": "S", "renderAs": "Area", "set": [ { "value": "88" }, { "value": "82" }, { "value": "100" }, { "value": "94" }, { "value": "71" }, { "value": "100" }, { "value": "100" }, { "value": "100" }, { "value": "100" }, { "value": "100" }, { "value": "100" }, { "value": "88" }, { "value": "82" }, { "value": "100" } ] } ] } ] } ] } I am facing same problem. as above. I have also set yAxisMaxValue="100" but it is not working plese help . Thanks Ashish Share this post Link to post Share on other sites
Bindhu Report post Posted May 15, 2014 Hi Ashish, Since you are rendering the chart on secondary y-axis, you have to set 'syaxismaxvalue' to 100 instead of pyaxismaxvalue. Hope this helps! Share this post Link to post Share on other sites