Sign in to follow this  
mateobus

Trying to hide points and show only continuous line.

Recommended Posts

Hello, I am new to fusion charts and I have been searching through the documentation, however I am unable to accomplish a task.

 

 

 

I am using fusioncharts v3 to plot 2 line graphs. I want one of the line graphs(dataset1) to just be a continuos horizontal line with hidden points. I think I am close, I have the graph showing only the first and last point, however I would like to hide those two endpoints if possible. My code is below, and any help is greatly appreciated.

 

 

 

<graph caption='' xAxisName='Date' yAxisName='Amount' slantLabels='1' labelDisplay='ROTATE' decimalPrecision='0' formatNumberScale='0' showValues='0' connectNullData='1'>

 

<categories>

 

<category name='1/07' />

 

<category name='4/07' />

 

<category name='7/07' />

 

<category name='10/07' />

 

<category name='11/07' />

 

</categories>

 

<dataset seriesName='Data1'>

 

<set value='500' showValue='0' />

 

<set />

 

<set />

 

<set />

 

<set value='500' showValue='0' />

 

</dataset>

 

<dataset seriesName='Data2'>

 

<set value='100' HoverText='100' />

 

<set value='200' HoverText='200' />

 

<set value='300' HoverText='300' />

 

<set value='400' HoverText='400' />

 

<set value='500' HoverText='500' />

 

</dataset>

 

</graph>

 

 

 

Thanks in advance.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Welcome to FusionCharts Forum. :)

If wish to hide the first and last points on the horizontal line, please add drawAnchors='0' in the <dataset> element.

e.g. <dataset seriesName='Data1' drawAnchors='0' >

Hope this helps. :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this