Sign in to follow this  
Santhiya

Show the overlapped multilines seperately

Recommended Posts

How to show the overlapped datapoints in fusion chart

Here is my code in this code the meadianvalue and tagetValue are same so in graph i am able to see only one line which represents median

 

xmlData.Append("<graph numdivlines='10' caption='" + metricName + "' subcaption='" + mystring + "' lineThickness='3' numVDivLines='10' showValues='0' decimalPrecision='1' bgSWF='images/blank.jpg' xAxisName='Month' anchorRadius='3.5' showAlternateVGridColor='0' alternateVGridColor='CCE6FF' anchorAlpha='100' animation='1' limitsDecimalPrecision='0' lineAlpha='85' baseFont='Tahoma' baseFontSize='10' legendAllowDrag='1' canvasBgAlpha='0' divLineDecimalPrecision='0'>");

medianValue.Append("<dataset seriesName='" + parameterName + "' color='8BBA00' anchorBorderColor='8BBA00' anchorBgColor='8BBA00'>");

baseValue.Append("<dataset seriesName='BaseLine' color='aa56ff' anchorBorderColor='aa56ff' anchorBgColor='aa56ff'>");

targetValue.Append("<dataset seriesName='Target' color='ffaad4' anchorBorderColor='ffaad4' anchorBgColor='ffaad4'>");

 

have set stagger also ..but i need to show both the lines which hv same values is it possible to show like tat

Share this post


Link to post
Share on other sites

How to show the overlapped datapoints in fusion chart

Here is my code in this code the meadianvalue and tagetValue are same so in graph i am able to see only one line which represents median

 

xmlData.Append("<graph numdivlines='10' caption='" + metricName + "' subcaption='" + mystring + "' lineThickness='3' numVDivLines='10' showValues='0' decimalPrecision='1' bgSWF='images/blank.jpg' xAxisName='Month' anchorRadius='3.5' showAlternateVGridColor='0' alternateVGridColor='CCE6FF' anchorAlpha='100' animation='1' limitsDecimalPrecision='0' lineAlpha='85' baseFont='Tahoma' baseFontSize='10' legendAllowDrag='1' canvasBgAlpha='0' divLineDecimalPrecision='0'>");

medianValue.Append("<dataset seriesName='" + parameterName + "' color='8BBA00' anchorBorderColor='8BBA00' anchorBgColor='8BBA00'>");

baseValue.Append("<dataset seriesName='BaseLine' color='aa56ff' anchorBorderColor='aa56ff' anchorBgColor='aa56ff'>");

targetValue.Append("<dataset seriesName='Target' color='ffaad4' anchorBorderColor='ffaad4' anchorBgColor='ffaad4'>");

 

have set stagger also ..but i need to show both the lines which hv same values is it possible to show like tat

Hi,

 

Please note that in case 2 of your values are exactly same, the datapoints would automatically overlap. The same values of the last <dataset> would be only visible and the remaining would be placed behind.

 

In case you are using a line chart and wish to display anchors for both the dataset, you can increase the "anchorRadius" of the 1st <dataset> to a larger value so that both the anchors for the overlapping points are visible.

 

Hope this helps. :)

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