Jump to content
Software FX Community

Formatting a point value within a chart

User (Legacy)

Recommended Posts


I have just upgraded my projects from using the old version of Chart FX to

the new version for Visual Studio 2005.

I'm having problems designing a pie chart which has a single series with

four points. I am trying to change the colours of the individual points of

the chart. I use the following code to maker the change.

chart.Points[0, 0].AlternateColor = Color.RoyalBlue;

chart.Points[0, 0].Color = Color.DodgerBlue;

The problem I am having is that the colour of the point changes but the

legend for the point is not updated to reflect the change.

For the older version of Chart FX (6.2) I used similar code and it worked


chart.Point[0, 0].AlternateColor = Color.RoyalBlue;

chart.Point[0, 0].Color = Color.DodgerBlue;

Could someone point me in the right direction please? Also, is it possible

to change a colour of a point through the designer?

Many Thanks


Link to comment
Share on other sites

Thank You

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message


> The correct code is:


> chart.Points[0].AlternateColor = Color.RoyalBlue;


> chart.Points[0].Color = Color.DodgerBlue;


> There is only ONE color key in the legend box per point, regardless of the

> number of series.


> --

> Francisco Padron

> www.chartfx.com


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...