Alternative for labelstep on X-Axis in FusionCharts V3
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Alternative for labelstep on X-Axis in... Expand / Collapse
Author
Message
Posted 4/18/2008 2:05:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #5753
Posted 4/18/2008 3:06:02 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #5754
Posted 4/18/2008 3:59:50 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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'/>";
}
}

Post #5756
Posted 4/18/2008 4:14:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #5757
Posted 4/18/2008 4:25:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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....

Post #5758
Posted 4/18/2008 8:24:34 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #5765
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:49pm


Execution: 0.094.