Hi,
The default behavior of class break appears to be that if a value is below the minimum level that it is not styled while on the maximum value side any value greater than the maximum receives the style assigned. For example, if I have breaks at 0 and 10 and we have a data value of 100, it will receiver whatever color 10 is set to. If we have a data value of -1, that value receives no color.
My question is what is the best way to be able to alter the behavior such that data value -1 receives the color assigned to level 0 and that data value 100 does not get colored.
I think the following code would do it, but the fact that you would need to specify a precision to the aboveTen class break to get it to be transparent seems error prone. Is there a better way?
ClassBreak belowZero = new ClassBreak(double.MinValue, new AreaStyle(new GeoSolidBrush(GeoColor.StandardColors.Red)));
ClassBreak zero = new ClassBreak(0, new AreaStyle(new GeoSolidBrush(GeoColor.StandardColors.Red)));
ClassBreak ten = new ClassBreak(10, new AreaStyle(new GeoSolidBrush(GeoColor.StandardColors.Blue)));
ClassBreak aboveTen = new ClassBreak(10.001, new AreaStyle(new GeoSolidBrush(GeoColor.StandardColors.Transparent)));