Harikrishnan Sivarajan Report post Posted May 25, 2011 (edited) Hi In my chart the data showing the less than minimum values. I have to hide the line if the value is less than minmum value. see the image1(the value is should be >minimum value)..i have set the minimum values is 100. but the runtime the y-axis values set as null. So the grpah takes the values as 0, so the graph showing 0to 60 and 60 to 100 in the y-axis this happening only , if the array value(for y axis)is null. i have to hide the chart values, if the y-axis values is less than minimum value is that possible Thanks hari Edited May 25, 2011 by Harikrishnan Sivarajan Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 25, 2011 Hi, Thanks for your post. In FusionCharts, the axis limits encompasses all values present in the chart i.e., no data value can be below the minimum y-axis value or above maximum y-axis value - they have to be within axis range. Even if you force an axis limit that is lower/higher than this, FusionCharts will automatically adjust it. In case you want to hide chart values, please provide blank space in your XML code instead of values. Hope this helps. Share this post Link to post Share on other sites
Harikrishnan Sivarajan Report post Posted May 25, 2011 (edited) I have to show the graph is must, but hide the x-axis/yaxis values. my xml attached <chart canvasPadding='30' legendPadding='100' yAxisMaxValue='300' yAxisMinValue='100' bgColor='ffffff,36AF50,dd5904' canvasBgColor='ffffff' caption='CHOLESTEROL REPORT' paletteColors='' showToolTipShadow='1' toolTipBorderColor='red' yAxisName='' formatNumberScale='0' xAxisName=''> <set label='2009' value='' /> <set label='2010' value='' /> <set label='2011' value='' /> <set label='' value='' /> <trendlines> <line startValue='100' endValue='200' isTrendZone='1' displayValue='Normal Cholesterol' color='426569' alpha='100'/> </trendlines> <trendlines> <line startValue='200' endValue='220' isTrendZone='1' displayValue='Above Cholesterol' color='a2b4be' alpha='100'/> </trendlines> <trendlines> <line startValue='220' endValue='300' isTrendZone='1' displayValue='High Cholesterol' color='7597c4' alpha='100'/> </trendlines> <styles> <definition> <style name='myCaptionFont' bgColor='ffff00' type='font' font='verdana' size='10' isHTML='0' color='666666' bold='1'/> <style name='myShadow' type='Shadow' color='999999' angle='45' bgColor='FFFFDD'/> <style name='myGlow' size='40' bold='1' type='Glow' color='FF5904' underline='1' bgColor='FFFFDD'/> </definition> <application> <apply toObject='' styles='myCaptionFont,myShadow' /> <apply toObject='XAxisName' styles='myShadow' /> <apply toObject='YAxisName' styles='myCaptionFont' /> </application> </styles> </chart> On 5/25/2011 at 1:09 PM, Angshu said: Hi, Thanks for your post. In FusionCharts, the axis limits encompasses all values present in the chart i.e., no data value can be below the minimum y-axis value or above maximum y-axis value - they have to be within axis range. Even if you force an axis limit that is lower/higher than this, FusionCharts will automatically adjust it. In case you want to hide chart values, please provide blank space in your XML code instead of values. Hope this helps. Edited May 25, 2011 by Harikrishnan Sivarajan Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 25, 2011 Hi, Thanks for your response. Please try the same by setting <showYAxisValues='0'> and <showLabels='0'> attribute inside the <chart> element of your XML code. Hope this helps. Share this post Link to post Share on other sites
Harikrishnan Sivarajan Report post Posted May 25, 2011 No way.. The issue is ther.... Please help On 5/25/2011 at 1:28 PM, Angshu said: Hi, Thanks for your response. Please try the same by setting <showYAxisValues='0'> and <showLabels='0'> attribute inside the <chart> element of your XML code. Hope this helps. Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 25, 2011 Hi, Could you please enable the debug mode in your html file and confirm the FusionCharts version you are using? For ex: var myChart = new FusionCharts("../FusionCharts/Line.swf", "myChartId", "600", "400", "0", "1"); Awaiting for your response. Share this post Link to post Share on other sites
Harikrishnan Sivarajan Report post Posted May 25, 2011 (edited) Vesion : 3.2.1 Info: Chart loaded and initialized. Initial Width: 450 Initial Height: 250 Scale Mode: noScale Debug Mode: Yes Application Message Language: EN Version: 3.2.1 Chart Type: Single Series 2D Line Chart Chart Objects: BACKGROUND CANVAS CAPTION SUBCAPTION YAXISNAME XAXISNAME DIVLINES VDIVLINES YAXISVALUES HGRID VGRID DATALABELS DATAVALUES TRENDLINES TRENDVALUES DATAPLOT ANCHORS TOOLTIP VLINES VLINELABELS INFO: Chart registered with external script. DOM Id of chart is divChartCOL INFO: XML Data provided using dataXML method. XML Data: <chart showYAxisValues="0" showLabels="1" canvasPadding="30" legendPadding="100" yAxisMaxValue="300" yAxisMinValue="100" bgColor="ffffff,36AF50,dd5904" canvasBgColor="ffffff" caption="CHOLESTEROL REPORT" paletteColors="" showToolTipShadow="1" toolTipBorderColor="red" yAxisName="Cholesterol" formatNumberScale="0" xAxisName=""><set label="2009" value="" /><set label="2010" value=" " /><set label="2011" value=" " /><set label="2012" value=" " /><set label="" value="" /><trendlines> <line startValue="100" endValue="200" isTrendZone="1" displayValue="Normal Cholesterol" color="0099a5" alpha="75" /></trendlines><trendlines> <line startValue="200" endValue="220" isTrendZone="1" displayValue="Above Cholesterol" color="7fft7t" alpha="75" /></trendlines><trendlines> <line startValue="220" endValue="300" isTrendZone="1" displayValue="High Cholesterol" color="ff2aff" alpha="75" /></trendlines><styles><definition><style name="myCaptionFont" bgColor="ffff00" type="font" font="verdana" size="10" isHTML="0" color="666666" bold="0" /><style name="myShadow" type="Shadow" color="999999" angle="45" bgColor="FFFFDD" /><style name="myGlow" size="40" bold="1" type="Glow" color="FF5904" underline="1" bgColor="FFFFDD" /></definition><application><apply toObject="" styles="myCaptionFont,myShadow" /><apply toObject="XAxisName" styles="myShadow" /><apply toObject="YAxisName" styles="myCaptionFont" /></application></styles></chart> ERROR: Invalid number specified in XML. FusionCharts can accept number in pure numerical form only. If your number formatting (thousand and decimal separator) is different, please specify so in XML. Also, do not add any currency symbols or other signs to the numbers. ERROR: Invalid number specified in XML. FusionCharts can accept number in pure numerical form only. If your number formatting (thousand and decimal separator) is different, please specify so in XML. Also, do not add any currency symbols or other signs to the numbers. ERROR: Invalid number specified in XML. FusionCharts can accept number in pure numerical form only. If your number formatting (thousand and decimal separator) is different, please specify so in XML. Also, do not add any currency symbols or other signs to the numbers. ERROR: Invalid number specified in XML. FusionCharts can accept number in pure numerical form only. If your number formatting (thousand and decimal separator) is different, please specify so in XML. Also, do not add any currency symbols or other signs to the numbers. ERROR: Invalid number specified in XML. FusionCharts can accept number in pure numerical form only. If your number formatting (thousand and decimal separator) is different, please specify so in XML. Also, do not add any currency symbols or other signs to the numbers. Invalid Chart Object in Style Definition: "" is not a valid Chart Object. Please see the list above for valid Chart Objects. On 5/25/2011 at 1:37 PM, Angshu said: Hi, Could you please enable the debug mode in your html file and confirm the FusionCharts version you are using? For ex: var myChart = new FusionCharts("../FusionCharts/Line.swf", "myChartId", "600", "400", "0", "1"); Awaiting for your response. Edited May 25, 2011 by Harikrishnan Sivarajan Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 25, 2011 HI, We have tested the code from our end and it is working fine. Please find the attached screenshot for your reference. Share this post Link to post Share on other sites
Harikrishnan Sivarajan Report post Posted May 25, 2011 Hello we cannot add the values in the chart,(showYAxisValues='0' showLabels='0' ) cos we adding the data programetically. So yaxisvalues hiding all the charts.This is not accepable see the attach file pls reply any hope On 5/25/2011 at 1:54 PM, Angshu said: HI, We have tested the code from our end and it is working fine. Please find the attached screenshot for your reference. Share this post Link to post Share on other sites
Guest Angshu Report post Posted May 26, 2011 Hi, Thanks for your response. I am afraid, FusionCharts does not support the feature you are looking for, at this time. Thank you very much for your continued patience and patronage. Hope you have a great day! Share this post Link to post Share on other sites