public SpotChartColumn(SpotChart chart, string prop, double maxVal, Color color) { Chart = chart; Property = prop; MaxValue = maxVal; Color = color; ValueSelector = f => f[Property].TryParseToDouble(); }
//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)); } } }