hdotnet

MSLine chart, defining point color on individual points

Recommended Posts

Hi there,

 

 

 

Currently playing with MSLine.swf and XML. The docs have me all confused.

 

 

 

The dataset attribs defines the color as cc0000 for the plot points.

 

 

 




 

 

 

The data for the chart I need to make has gaps, and therefore some values are 'calculated' and should be shown in a different colour or highlighted somehow.

 

 

 




 

 

 

In the attached grab you can see that the point colour remains unchanged, however the line after the point has changed colour.

 

 

 

The docs specify for this type of chart that you can change the plot color using an attribute in the 'set' nodes.

 

 

 

http://www.fusioncharts.com/Docs/Contents/ChartSS/MSLine.html#Anchor20

 

 

 

"For multi-series and combination charts, you can define the color of data-sets at dataset level. However, if you wish to highlight a particular data element, you can specify it's color at "set" level using this attribute. "

 

 

 

What am I doing wrong exactly?

 

 

 

Regards

 

 

 

Henry

 

 

 

gah... where is the XML in my post (I'm using the IFcode syntax) ?!?!!?

 

 

 

EDIT: so the forum can't handle fusioncharts XML syntax, therefore I've attached the XML.

post-5476-128441573108_thumb.png

my.xml

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Could you please attach your XML in a .txt format and send it again?

 

 

 

Looking forward to your reply. :)

Share this post


Link to post
Share on other sites

crikey... this forum software is pretty rubbish. pretty damn sure it says xml in this list:

 

 

 

 

 

 

 

Attachments

 

 

 

Permitted types: .gif, .bmp, .jpeg, .pdf, .doc, .rtf, .png, .txt, .zip, .xls, .jpg, .rar, .xml, .

my.txt

Share this post


Link to post
Share on other sites

Hello,

 

 

 

Could you make the following changes to your XML and try again?

 

 

 

 

 

<set value="92.73"/>

 

<set value="93.77"/>

 

<set value="94.945" color="cccccc" anchorRadius="14px" toolText="awaited" anchorBorderColor='666666' anchorBgColor='999999' />

 

<set value="95.50" anchorBorderColor='666666' anchorBgColor='999999' />

 

<set value="94.90"/>

 

<set value="95.21"/>

 

 

 

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