Exemplo n.º 1
0
 public SpotChartColumn(SpotChart chart, string prop, double maxVal, Color color)
 {
     Chart         = chart;
     Property      = prop;
     MaxValue      = maxVal;
     Color         = color;
     ValueSelector = f => f[Property].TryParseToDouble();
 }
Exemplo n.º 2
0
        //private static PathGeometry PolylineToPathGeometry(Polyline poly)
        //{
        //}

        public virtual void ApplySpotChart(SpotChart chart)
        {
            for (int i = 0; i < Features.Count; i++)
            {
                var feature = LayerData.Features[i];
                for (int j = 0; j < chart.Columns.Count; j++)
                {
                    var column = chart.Columns[j];
                    this.AddOverlayChildren(column.GetShape(feature, j));
                }
            }
        }