Hello,
Is there a way to use more than one column to evaluate what classbreak style a feature will use? For instance, in the example given in the demo, you use the following code for one variable:
- ClassBreakStyle classBreakStyle = new ClassBreakStyle("POP_CNTRY");
- classBreakStyle.ClassBreaks.Add(new ClassBreak(double.MinValue, AreaStyles.Grass1));
- classBreakStyle.ClassBreaks.Add(new ClassBreak(1000000, AreaStyles.Evergreen2));
- classBreakStyle.ClassBreaks.Add(new ClassBreak(10000000, AreaStyles.Evergreen1));
- classBreakStyle.ClassBreaks.Add(new ClassBreak(50000000, AreaStyles.Crop1));
- classBreakStyle.ClassBreaks.Add(new ClassBreak(100000000, AreaStyles.Forest1));
What if I wanted one set of colors (say green, like the example) for this population breakdown on countries that were under a certain sized area, let's call it "AREA_CNTRY", and another that were over (say red).
What I'm trying to achieve is having the classbreak read directly from the .dbf file without having to sort out the secondary columns in advance.
I hope this makes sense... Thanks in advance!
-Dustin