Jump to content
Software FX Community

Can I mark a certain section of AxisX?

User (Legacy)

Recommended Posts


I have an xy-linechart with several series. If a point is over a defined

maximum, I want to warn the user by marking the section from that point up

to the next point in red.

I know that this is possible by creating an AxisSection. But I would prefer

to mark only the AxisX itself in red for that section, not the background.

Is this possible?

Regards, MusiMeli


Link to comment
Share on other sites

Axis sections are not only a strip of color, they can be used to change the 

attributes of the axis labels within a particular segment, for example, you

can create an axis section that shows red labels for a certain range:

AxisSection section2= new AxisSection(60,90,Color.Transparent);

section.TextColor = Color.Red;



Francisco Padron


Link to comment
Share on other sites


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

  • Create New...