Sign in to follow this  
rcabral

Mark Special points on a line graph

Recommended Posts

I need a line graph that is composed by two types of points:

1.- Real

2.- Estimated

I want the graph to reflet that reality.

example: (Only type "E" points have a marker)

img-datos.jpgimg-graph.jpg

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts forum,

 

You can control the visibility of individual anchors using anchorAlpa attribute inside the set element of the JSON/XML data.

{
     "label": "1",
     "value": "100",
     "anchorAlpha":"0",
}, 

will hide the anchor.

 

While

{
                    "label": "2",
                    "value": "120",
                    "anchorAlpha":"100",
 },

will show the anchor.

 

You can also add the anchorAlpha globally in the chart element, and override it in the set element.

 

For more information on anchors, you can refer to:
http://docs.fusioncharts.com/tutorial-configuring-your-chart-anchors-and-lines.html

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