|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/18/2008 6:59:29 AM
Posts: 4,
Visits: 8
|
|
| Hi, I am using Fusion Charts Free version and i want to hide alternate X-Axis values such that it will hide some columns values on X-Axis and show the other. I come to know that there is labelstep in V3 of FusionCharts but its not working in free version .Is there any alternative for it in free version. Also i am sending you my code:- <graph caption='CPU UTIL Summary of "+serverName+"' subcaption='For the year 2008' xAxisName='TIME' yAxisName='Value' formatNumberScale = '0' decimalPrecision = '0' rotateNames = '1' showvalues='0' connectNullData = '1' rotateLabels ='1' showToolTip='0' showShadow='0' adjustDiv='0' yAxisMinValue='0' yAxisMaxValue='100' labelDisplay='ROTATE' slantLabels='1' labelStep='4'>";
Plz help me waiting for your reply
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 6:02:32 AM
Posts: 764,
Visits: 1,215
|
|
| Hi, I am afraid, labelStep is not supported in FusionCharts FREE charts. Could you please use showLabel='0' in the <category> or <set> for each label which you do not want to show.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/18/2008 6:59:29 AM
Posts: 4,
Visits: 8
|
|
| Dear Sudipto, thnx for ur reply. I am using showLabel as given below in the code .Actually i want to print every fifth value on the x-axis .But still it is not working for(int i=0;i<240;i++) { if(i % 5 != 0) { strXML += "<category name='"+dbtime+"' showLabel='0' />"; } else { dbtime = times[i].substring(0,5); strXML += "<category name='"+dbtime+"' showLabel='1'/>"; } }
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/18/2008 6:59:29 AM
Posts: 4,
Visits: 8
|
|
| Thnx Sudipto now it is working i have used showName instead of showLabel
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/18/2008 6:59:29 AM
Posts: 4,
Visits: 8
|
|
| And Sudipto, one more thing ,on the x-axis the values are coming in half-an-hour interval but i want to show the values on mouse over event in 6minutes interval which is my lowest possible unit on graph .I have seen a thing as toolText but it is not working for(int i=0;i<240;i++) { if(i % 5 == 0) { dbtime = times[i].substring(0,5); strXML += "<category name='"+dbtime+"' toolText='"+dbtime+"' showName='1'/>"; } else { strXML += "<category name='"+dbtime+"' toolText='"+dbtime+"' showName='0' />"; } } Plz help me in this regard....
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 6:02:32 AM
Posts: 764,
Visits: 1,215
|
|
| Hi, Could you please try using hoverText insead of toolText since you are using FREE version of charts. XML for v3 uses toolText. For more on the XML structure of FREE charts Please visit the "Chart XML Reference" section in our Documentation : http://www.fusioncharts.com/free/docs
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|