I would like to change the axis labels to various colors depending upon value. For example, with a zero aligned chart, I would like the negative values to be in red and the positive values in black. Is this possible? I tried IRenderLabel but it returns a string object. If I go through ChartDrawItem, I am unsure what the primitive would be for the label item.
Thanks,
Alan
Hi Alan,
the primitive for label item is Text. In your case you can try code like this:
if (text == null)
double val;
return;
{
}
else