예제 #1
0
 private void butFunnel_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.Funnel);
     modelChart            = Funnel.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #2
0
 private void butWaterfall_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.Waterfall);
     modelChart            = Waterfall.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #3
0
 private void butBoxWhisker_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.BoxWhisker);
     modelChart            = BoxWhisker.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #4
0
 private void butColoredLine_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.Line);
     modelChart            = Line.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #5
0
 private void butTreemap_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.TreeMap);
     modelChart            = Treemap.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #6
0
 private void butSunburst_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.Sunburst);
     modelChart            = Sunburst.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #7
0
 private void butHistogram_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.Histogram);
     modelChart            = Histogram.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #8
0
 private void butPareto_Click(object sender, RoutedEventArgs e)
 {
     Reset(ChartType.Pareto);
     modelChart            = Pareto.Create();
     controller.ChartModel = modelChart;
     RenderChart();
 }
예제 #9
0
 private void butBoxWhisker_Click(object sender, EventArgs e)
 {
     Reset(ChartType.BoxWhisker);
     modelChart            = BoxWhisker.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #10
0
 private void butFunnel_Click(object sender, EventArgs e)
 {
     Reset(ChartType.Funnel);
     modelChart            = Funnel.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #11
0
 private void butColoredLine_Click(object sender, EventArgs e)
 {
     Reset(ChartType.Line);
     modelChart            = Line.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #12
0
 private void butSunburst_Click(object sender, EventArgs e)
 {
     Reset(ChartType.Sunburst);
     modelChart            = Sunburst.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #13
0
 private void butTreemap_Click(object sender, EventArgs e)
 {
     Reset(ChartType.TreeMap);
     modelChart            = Treemap.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #14
0
 private void butPareto_Click(object sender, EventArgs e)
 {
     Reset(ChartType.Pareto);
     modelChart            = Pareto.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #15
0
 private void butHistogram_Click(object sender, EventArgs e)
 {
     Reset(ChartType.Histogram);
     modelChart            = Histogram.Create();
     controller.ChartModel = modelChart;
     viewPanel.Invalidate();
 }
예제 #16
0
 private void Reset(ChartType chartType)
 {
     if (modelChart != null)
     {
         modelChart = null;
     }
     factory    = CreateFactory(chartType);
     controller = factory.CreateController();
 }