private void butFunnel_Click(object sender, RoutedEventArgs e) { Reset(ChartType.Funnel); modelChart = Funnel.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butWaterfall_Click(object sender, RoutedEventArgs e) { Reset(ChartType.Waterfall); modelChart = Waterfall.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butBoxWhisker_Click(object sender, RoutedEventArgs e) { Reset(ChartType.BoxWhisker); modelChart = BoxWhisker.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butColoredLine_Click(object sender, RoutedEventArgs e) { Reset(ChartType.Line); modelChart = Line.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butTreemap_Click(object sender, RoutedEventArgs e) { Reset(ChartType.TreeMap); modelChart = Treemap.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butSunburst_Click(object sender, RoutedEventArgs e) { Reset(ChartType.Sunburst); modelChart = Sunburst.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butHistogram_Click(object sender, RoutedEventArgs e) { Reset(ChartType.Histogram); modelChart = Histogram.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butPareto_Click(object sender, RoutedEventArgs e) { Reset(ChartType.Pareto); modelChart = Pareto.Create(); controller.ChartModel = modelChart; RenderChart(); }
private void butBoxWhisker_Click(object sender, EventArgs e) { Reset(ChartType.BoxWhisker); modelChart = BoxWhisker.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void butFunnel_Click(object sender, EventArgs e) { Reset(ChartType.Funnel); modelChart = Funnel.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void butColoredLine_Click(object sender, EventArgs e) { Reset(ChartType.Line); modelChart = Line.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void butSunburst_Click(object sender, EventArgs e) { Reset(ChartType.Sunburst); modelChart = Sunburst.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void butTreemap_Click(object sender, EventArgs e) { Reset(ChartType.TreeMap); modelChart = Treemap.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void butPareto_Click(object sender, EventArgs e) { Reset(ChartType.Pareto); modelChart = Pareto.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void butHistogram_Click(object sender, EventArgs e) { Reset(ChartType.Histogram); modelChart = Histogram.Create(); controller.ChartModel = modelChart; viewPanel.Invalidate(); }
private void Reset(ChartType chartType) { if (modelChart != null) { modelChart = null; } factory = CreateFactory(chartType); controller = factory.CreateController(); }