Jump to content
Software FX Community

Can I mark a certain section of AxisX?


User (Legacy)

Recommended Posts

Hi!

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

post-2107-13922364312724_thumb.gif

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;

chart1.AxisY.Sections.Add(section);

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...