4 |
5 |
6 |
7 |
8 | The Logarithmic property
9 | determines if an axis is logarithmic, and the logarithmic base is defined by the
10 | LogarithmBase property. Note
11 | that this is only applicable to value axes, which are used to plot data values.
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Logarithmic Scale/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set Logarithmic scale
5 | chart1.ChartAreas["Default"].AxisY.IsLogarithmic = true;
6 |
7 | // Set logarithmic base
8 | chart1.ChartAreas[0].AxisY.LogarithmBase = Math.E;
9 |
10 | // Set Minor interval
11 | chart1.ChartAreas[0].AxisY.MinorGrid.Interval = 0;
12 | chart1.ChartAreas[0].AxisY.MinorTickMark.Interval = 0;
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Logarithmic Scale/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set Logarithmic scale
5 | chart1.ChartAreas("Default").AxisY.IsLogarithmic = True
6 |
7 | ' Set logarithmic base
8 | chart1.ChartAreas(0).AxisY.LogarithmBase = Math.E
9 |
10 | ' Set Minor interval
11 | chart1.ChartAreas(0).AxisY.MinorGrid.Interval = 0
12 | chart1.ChartAreas(0).AxisY.MinorTickMark.Interval = 0
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/MultipleYAxis/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Multiple Y Axes
5 | thumbnail.jpg
6 | Using Multiple Y Axes
7 | MultipleYAxis
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Multiple axes
14 | Axis, Multiple axes
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Overview/DataView.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Axis/Overview/DataView.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Overview/Interlaced.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Axis/Overview/Interlaced.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Overview/LabelRows.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:6dae1f66409c1db9852fdb4d59954c391382bdc824dc91c7bd63f9ed634f30bb
3 | size 26178
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Overview/PrimarySecondaryAxes.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Axis/Overview/PrimarySecondaryAxes.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Axis/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Axes
7 | Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Axis, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/AlignTypeInnerPlotPosition.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/AlignmentTypes/AlignTypeInnerPlotPosition.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/AlignTypePosition.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/AlignmentTypes/AlignTypePosition.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/AreaAlignTypeAll.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/AlignmentTypes/AreaAlignTypeAll.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/AreaAlignTypeAxesViews.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/AlignmentTypes/AreaAlignTypeAxesViews.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/AreaAlignTypeCursor.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/AlignmentTypes/AreaAlignTypeCursor.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Make Chart Area 2 align to Chart Area 1
5 | Chart1.ChartAreas["Chart Area 2"].AlignWithChartArea = "Default";
6 |
7 | // Set the alignment type
8 | Chart1.ChartAreas["Chart Area 2"].AlignmentStyle = AreaAlignmentStyles.Position |
9 | AreaAlignmentStyles.PlotPosition |
10 | AreaAlignmentStyles.Cursor |
11 | AreaAlignmentStyles.AxesView;
12 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/AlignmentTypes/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Make Chart Area 2 align to Chart Area 1
5 | Chart1.ChartAreas("Chart Area 2").AlignWithChartArea = "Default"
6 |
7 | ' Set the alignment type
8 | Chart1.ChartAreas("Chart Area 2").AlignmentStyle = AreaAlignmentStyles.Position |
9 | AreaAlignmentStyles.PlotPosition |
10 | AreaAlignmentStyles.Cursor |
11 | AreaAlignmentStyles.AxesView
12 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/ChartInDataPoint/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Mini-Chart in Data Points
5 | thumbnail.jpg
6 | Displaying Mini-Chart in Data Points
7 | ChartInDataPoint
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Chart in data point
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/2DChart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/Overview/2DChart.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/3DChart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/Overview/3DChart.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/Alignment.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/Overview/Alignment.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/GradientColor.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/Overview/GradientColor.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/NoAlignment.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/Overview/NoAlignment.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/PieWithinPoint.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:0a776245a7b34566b654bb4f7741986ade22066ef22342c8600effc99494e889
3 | size 12929
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Chart Areas
7 | Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Chart area, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Series and Chart Areas/SeriesAndChartAreas.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/ChartArea/Series and Chart Areas/SeriesAndChartAreas.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Series and Chart Areas/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Attach the first series to a chart area.
5 | chart1.Series["Series1"].ChartArea = "Default";
6 |
7 | // Attach the second series to a chart area.
8 | chart1.Series["Series2"].ChartArea = "Chart Area 2";
9 |
10 | // Remove series from chart areas.
11 | chart1.Series["Series3"].ChartArea = "";
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Series and Chart Areas/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Attach the first series to a chart area.
5 | Chart1.Series("Series1").ChartArea = "Default"
6 |
7 | ' Attach the second series to a chart area.
8 | Chart1.Series("Series2").ChartArea = "Chart Area 2"
9 |
10 | ' Remove series from chart areas.
11 | Chart1.Series("Series3").ChartArea = ""
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Z Order/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Create references to chart areas.
5 | ChartArea [] areas = new ChartArea[3];
6 | areas[0] = chart1.ChartAreas["Default"];
7 | areas[1] = chart1.ChartAreas["Chart Area 2"];
8 | areas[2] = chart1.ChartAreas["Chart Area 3"];
9 |
10 | // Remove all chart areas from the collection
11 | chart1.ChartAreas.Clear();
12 |
13 | // Add chart areas to the collection in selected order
14 | chart1.ChartAreas.Add(areas[0]);
15 | chart1.ChartAreas.Add(areas[2]);
16 | chart1.ChartAreas.Add(areas[1]);
17 |
18 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Z Order/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Z Order
5 | thumbnail.jpg
6 | Using Chart Areas ZOrder
7 | ZOrder
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Z order
14 | Chart area, Z order
15 | Series, Z order
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/ChartFeatures/ChartArea/Z Order/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Create references to new chart areas.
5 | Dim areas() As ChartArea
6 | areas(0) = Chart1.ChartAreas("Default")
7 | areas(1) = Chart1.ChartAreas("Chart Area 2")
8 | areas(2) = Chart1.ChartAreas("Chart Area 3")
9 |
10 | ' Remove all chart areas from the collection
11 | Chart1.ChartAreas.Clear()
12 |
13 | ' Add chart areas to the collection in selected order
14 | Chart1.ChartAreas.Add(areas(0))
15 | Chart1.ChartAreas.Add(areas(2))
16 | Chart1.ChartAreas.Add(areas(1))
17 |
18 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Customizations/Overview/CustomImage.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Customizations/Overview/CustomImage.JPG
--------------------------------------------------------------------------------
/src/ChartFeatures/Customizations/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Customization
7 | Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Customizations, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Customizations/PaintingDataTable/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | using System.Windows.Forms.DataVisualization.Charting.Utilities;
3 | ...
4 |
5 | bool bShowTotals = false;
6 |
7 | // ChartDataTableHelper is a helper class found in the samples
8 | // in the folder Utilties.
9 | ChartDataTableHelper TableHelper = new ChartDataTableHelper();
10 |
11 | // Initialize the TableHelper with the chart object
12 | TableHelper.Initialize(Chart1, bShowTotals);
13 |
14 | // Set the Colors of the Table
15 | TableHelper.TableColor = Color.White;
16 | TableHelper.BorderColor = Color.Black;
17 | ...
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/HidingSeries/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Hide series "Series 1"
5 | chart1.Series["Series 1"].Enabled = false;
6 |
7 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/HidingSeries/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Hiding Series
5 | thumbnail.jpg
6 | Hiding Series
7 | HidingSeries
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Series, Hiding
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/HidingSeries/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Hide series "Series 1"
5 | Chart1.Series("Series 1").Enabled = false
6 |
7 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/IndexedX/IndexedX.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/IndexedX/IndexedX.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/IndexedX/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Plot series' points using their index instead of their X values
5 | chart1.Series["Default"].IsXValueIndexed = true;
6 |
7 | ...
8 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/IndexedX/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Indexed X Values
5 | thumbnail.jpg
6 | Indexed X Values
7 | IndexedX
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Series, Indexed X values
14 | Indexed X values
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/IndexedX/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Plot series points using their index instead of their X values
5 | Chart1.Series("Default").IsXValueIndexed = true
6 |
7 | ...
8 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Overview/BubbleChart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/Overview/BubbleChart.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Overview/CustomAttributes.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/Overview/CustomAttributes.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Overview/SeriesAndPointsColor.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/Overview/SeriesAndPointsColor.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Overview/SeriesAppearance.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/Overview/SeriesAppearance.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Series
7 | DataSeries
8 |
9 | Overview.htm
10 |
11 |
12 | Series, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/PointWidthAndDepth/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set series points width to 20 pixels
5 | Chart1.Series("Series 1")("PixelPointWidth") = "20"
6 |
7 | ' Minimum and/or Maximum points width in pixels can be
8 | ' specified to adjust default width of points.
9 | Chart1.Series("Series 2")("MinPixelPointWidth") = "10"
10 | Chart1.Series("Series 2")("MaxPixelPointWidth") = "30"
11 |
12 | ' Set series points depth to 30 pixels
13 | Chart1.Series("Series 1")("PixelPointDepth") = "20"
14 |
15 | ' Set series points gap depth to 10 pixels
16 | Chart1.Series("Series 1")("PixelPointGapDepth") = "10"
17 |
18 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/SecondaryAxis/SecondaryAxis.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/SecondaryAxis/SecondaryAxis.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/SecondaryAxis/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set series axis type
5 | chart1.Series["Series 1"].XAxisType = AxisType.Primary;
6 | chart1.Series["Series 1"].YAxisType = AxisType.Secondary;
7 | chart1.Series["Series 2"].XAxisType = AxisType.Secondary;
8 | chart1.Series["Series 2"].YAxisType = AxisType.Primary;
9 |
10 | ...
11 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/SecondaryAxis/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Secondary Y Axis
5 | thumbnail.jpg
6 | Plotting Series against Secondary Y Axis
7 | SecondaryAxis
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Series, Using Secondary Axes
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/SecondaryAxis/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set series axis type
5 | Chart1.Series("Series 1").XAxisType = AxisType.Primary
6 | Chart1.Series("Series 1").YAxisType = AxisType.Secondary
7 | Chart1.Series("Series 2").XAxisType = AxisType.Secondary
8 | Chart1.Series("Series 2").YAxisType = AxisType.Primary
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Series Z Order/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Create references to series
5 | Series [] series = new Series[3];
6 | series[0] = chart1.Series["Series1"];
7 | series[1] = chart1.Series["Series2"];
8 | series[2] = chart1.Series["Series3"];
9 |
10 | // Remove all series from the collection
11 | chart1.Series.Clear();
12 |
13 | // Add chart series to the collection in the specified order
14 | chart1.Series.Add(series[2]);
15 | chart1.Series.Add(series[0]);
16 | chart1.Series.Add(series[1]);
17 |
18 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Series Z Order/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Series Z Order
5 | thumbnail.jpg
6 | Setting Series Z Order
7 | SeriesZOrder
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Series, Z order
14 | Z order, Series
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/Series Z Order/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Create references to series
5 | Dim series() As Series = New Series(3) {}
6 | series(0) = Chart1.Series("Series1")
7 | series(1) = Chart1.Series("Series2")
8 | series(2) = Chart1.Series("Series3")
9 |
10 | ' Remove all series from the collection
11 | Chart1.Series.Clear()
12 |
13 | ' Add chart series to the collection in selected order
14 | Chart1.Series.Add(series(2))
15 | Chart1.Series.Add(series(0))
16 | Chart1.Series.Add(series(1))
17 |
18 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/SeriesAppearance/Series Appearance.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/SeriesAppearance/Series Appearance.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/UsingLabels/UsingLabels.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/UsingLabels/UsingLabels.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/UsingMarkers/UsingMarkers.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/DataSeries/UsingMarkers/UsingMarkers.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/UsingMarkers/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set marker attributes for the whole series
5 | chart1.Series["Default"].MarkerStyle = MarkerStyle.Circle;
6 | chart1.Series["Default"].MarkerSize = 3;
7 | chart1.Series["Default"].MarkerColor = Color.Magenta;
8 | chart1.Series["Default"].MarkerBorderColor = Color.Red;
9 | chart1.Series["Default"].MarkerBorderWidth = 1;
10 |
11 | // Set an marker style for the third data point in series
12 | chart1.Series["Default"].Points[2].MarkerStyle = MarkerStyle.Diamond;
13 |
14 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/DataSeries/UsingMarkers/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set marker attributes for the whole series
5 | chart1.Series("Default").MarkerStyle = MarkerStyle.Circle
6 | chart1.Series("Default").MarkerSize = 3
7 | chart1.Series("Default").MarkerColor = Color.Magenta
8 | chart1.Series("Default").MarkerBorderColor = Color.Red
9 | chart1.Series("Default").MarkerBorderWidth = 1
10 |
11 | ' Set an marker style for the third data point in series
12 | chart1.Series("Default").Points(2).MarkerStyle = MarkerStyle.Diamond
13 |
14 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Events/ScrollBarEvents/PageScrolling.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Events/ScrollBarEvents/PageScrolling.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Events/ScrollBarEvents/Zoom2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Events/ScrollBarEvents/Zoom2.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Events/ScrollBarEvents/Zoom3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Events/ScrollBarEvents/Zoom3.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Events/ScrollBarEvents/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | chart1.AxisScrollBarClicked += new ScrollBarEventHandler(this.chart1_AxisScrollBarClicked);
5 | ...
6 |
7 | private void chart1_AxisScrollBarClicked(object sender, ScrollBarEventArgs e)
8 | {
9 | // Handle zoom reset button
10 | if(e.ButtonType == ScrollBarButtonType.ZoomReset)
11 | {
12 | // Event is handled, no more processing required
13 | e.Handled = true;
14 |
15 | // Reset zoom on X and Y axis
16 | chart1.ChartAreas["Default"].AxisX.ScaleView.ZoomReset();
17 | chart1.ChartAreas["Default"].AxisY.ScaleView.ZoomReset();
18 | }
19 | }
20 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Events/ViewChangedEvent/Overview.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | The events are raised when the size or position of a view changes due to the chart
10 | reader's interaction with the chart. The AxisViewChanged event is raised when a view is changed.
11 | The AxisViewChanging event is raised before a view is redrawn.
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/CursorAppearance/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Create cursor object
5 | System.Windows.Forms.DataVisualization.Charting.Cursor cursor = null;
6 |
7 | // Set cursor object
8 | cursor = chart1.ChartAreas["Default"].CursorY;
9 |
10 | // Set cursor properties
11 | cursor.LineWidth = 2;
12 | cursor.LineDashStyle = ChartDashStyle.DashDot;
13 | cursor.LineColor = Color.Red;
14 | cursor.SelectionColor = Color.Yellow;
15 |
16 | // Set cursor selection color of X axis cursor
17 | chart1.ChartAreas["Default"].CursorX.SelectionColor = Color.Yellow;
18 |
19 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/CursorAppearance/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Create cursor object
5 | Dim cursor AS System.Windows.Forms.DataVisualization.Charting.Cursor
6 |
7 | ' Set cursor object
8 | cursor = Chart1.ChartAreas("Default").CursorY
9 |
10 | ' Set cursor properties
11 | cursor.LineWidth = 2
12 | cursor.LineDashStyle = ChartDashStyle.DashDot
13 | cursor.LineColor = Color.Red
14 | cursor.SelectionColor = Color.Yellow
15 |
16 | ' Set cursor selection color of X axis cursor
17 | Chart1.ChartAreas("Default").CursorX.SelectionColor = Color.Yellow
18 |
19 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/CursorAxis/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set cursor axis type
5 | chart1.ChartAreas["Default"].CursorX.AxisType = AxisType.Primary;
6 | chart1.ChartAreas["Default"].CursorY.AxisType = AxisType.Secondary;
7 |
8 |
9 | ...
10 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/CursorAxis/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set cursor axis type
5 | Chart1.ChartAreas("Default").CursorX.AxisType = AxisType.Primary
6 | Chart1.ChartAreas("Default").CursorY.AxisType = AxisType.Secondary
7 |
8 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/CursorInterval/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set cursor interval properties
5 | chart1.ChartAreas["Default"].CursorX.Interval = 1;
6 | chart1.ChartAreas["Default"].CursorX.IntervalType = DateTimeIntervalType.Days;
7 | chart1.ChartAreas["Default"].CursorY.Interval = 2;
8 |
9 | ...
10 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/CursorInterval/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set cursor interval properties
5 | Chart1.ChartAreas("Default").CursorX.Interval = 1
6 | Chart1.ChartAreas("Default").CursorX.IntervalType = DateTimeIntervalType.Days
7 | Chart1.ChartAreas("Default").CursorY.Interval = 2
8 |
9 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/MultiChartAreaCursor/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // First set the ChartArea.InnerPlotPosition property.
5 | chart1.ChartAreas["Default"].InnerPlotPosition.Auto = true;
6 | chart1.ChartAreas["Volume"].InnerPlotPosition.Auto = true;
7 |
8 | // Set the alignment properties so the "Volume" chart area will allign to "Default"
9 | chart1.ChartAreas["Volume"].AlignmentOrientation = AreaAlignmentOrientations.Vertical;
10 | chart1.ChartAreas["Volume"].AlignmentStyle = AreaAlignmentStyles.All;
11 | chart1.ChartAreas["Volume"].AlignWithChartArea = "Default";
12 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/MultiChartAreaCursor/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | 'First set the ChartArea.InnerPlotPosition property.
5 | chart1.ChartAreas("Default").InnerPlotPosition.Auto = True
6 | chart1.ChartAreas("Volume").InnerPlotPosition.Auto = True
7 |
8 | 'Set the alignment properties so the "Volume" chart area will allign to "Default"
9 | chart1.ChartAreas("Volume").AlignmentOrientation = AreaAlignmentOrientations.Vertical
10 | chart1.ChartAreas("Volume").AlignmentStyle = AreaAlignmentStyles.All
11 | chart1.ChartAreas("Volume").AlignWithChartArea = "Default"
12 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/ZoomScrollAuto/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set automatic zooming
5 | chart1.ChartAreas["Default"].AxisX.ScaleView.Zoomable = true;
6 | chart1.ChartAreas["Default"].AxisY.ScaleView.Zoomable = true;
7 |
8 | // Set automatic scrolling
9 | chart1.ChartAreas["Default"].CursorX.AutoScroll = true;
10 | chart1.ChartAreas["Default"].CursorY.AutoScroll = true;
11 |
12 | ...
13 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Cursors/ZoomScrollAuto/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set automatic zooming
5 | Chart1.ChartAreas("Default").AxisX.ScaleView.Zoomable = true
6 | Chart1.ChartAreas("Default").AxisY.ScaleView.Zoomable = true
7 |
8 | ' Set automatic scrolling
9 | Chart1.ChartAreas("Default").CursorX.AutoScroll = true
10 | Chart1.ChartAreas("Default").CursorY.AutoScroll = true
11 |
12 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Overview/Cursors.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/InteractiveCharting/Overview/Cursors.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Overview/DrilldownFinalChart.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/InteractiveCharting/Overview/DrilldownFinalChart.jpg
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Overview/DrilldownInitialChart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/InteractiveCharting/Overview/DrilldownInitialChart.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Overview/TooltipWithKeyword.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:089e4fcbf11634e99b6b344d63684e60a3f7f0e7a27ffa3c1dc9240ac1c0c19b
3 | size 124220
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Interactivity
7 | Interactivity
8 |
9 | Overview.htm
10 |
11 |
12 | Interactivity, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ToolTips/UsingToolTips/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set ToolTips for Data Point Series
5 | chart1.Series[0].ToolTip = "Percent: #PERCENT";
6 |
7 | // Set ToolTips for legend items
8 | chart1.Series[0].LegendToolTip = "Income in #LABEL is #VAL million";
9 |
10 | // Set ToolTips for the Data Point labels
11 | chart1.Series[0].LabelToolTip = "#PERCENT";
12 |
13 | // Set ToolTips for second Data Point
14 | chart1.Series[0].Points[1].ToolTip = "Unknown";
15 |
16 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ToolTips/UsingToolTips/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set ToolTips for Data Point Series
5 | chart1.Series(0).ToolTip = "Percent: #PERCENT"
6 |
7 | ' Set ToolTips for legend items
8 | chart1.Series(0).LegendToolTip = "Income in #LABEL is #VAL million"
9 |
10 | ' Set ToolTips for the Data Point labels
11 | chart1.Series(0).LabelToolTip = "#PERCENT"
12 |
13 | ' Set ToolTips for second Data Point
14 | chart1.Series(0).Points(1).ToolTip = "Unknown"
15 |
16 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/BasicZooming/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Zoom into the X axis
5 | chart1.ChartAreas["Default"].AxisX.ScaleView.Zoom(2, 3);
6 |
7 | // Enable range selection and zooming end user interface
8 | chart1.ChartAreas["Default"].CursorX.IsUserEnabled = true;
9 | chart1.ChartAreas["Default"].CursorX.IsUserSelectionEnabled = true;
10 | chart1.ChartAreas["Default"].AxisX.ScaleView.Zoomable = true;
11 | chart1.ChartAreas["Default"].AxisX.ScrollBar.IsPositionedInside = true;
12 |
13 | ...
14 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/BasicZooming/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Zoom into the X axis
5 | chart1.ChartAreas("Default").AxisX.ScaleView.Zoom(2, 3)
6 |
7 | ' Enable range selection and zooming end user interface
8 | chart1.ChartAreas("Default").CursorX.IsUserEnabled = True
9 | chart1.ChartAreas("Default").CursorX.IsUserSelectionEnabled = True
10 | chart1.ChartAreas("Default").AxisX.ScaleView.Zoomable = True
11 | chart1.ChartAreas("Default").AxisX.ScrollBar.IsPositionedInside = True
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/SmallScrollSize/Zoom3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/SmallScrollSize/Zoom3.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/SmallScrollSize/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Use automatic small scrolling size, with minimum of 2
5 | chart1.ChartAreas["Default"].AxisX.ScaleView.SmallScrollSize = double.NaN;
6 | chart1.ChartAreas["Default"].AxisX.ScaleView.SmallScrollMinSize = 2;
7 |
8 | ...
9 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/SmallScrollSize/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Use automatic small scrolling size, with minimum of 2
5 | chart1.ChartAreas("Default").AxisX.ScaleView.SmallScrollSize = Double.NaN
6 | chart1.ChartAreas("Default").AxisX.ScaleView.SmallScrollMinSize = 2
7 |
8 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/ZoomingExtents/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set the minimum view size to 2 weeks
5 | chart1.ChartAreas["Default"].AxisX.ScaleView.MinSize = 2;
6 | chart1.ChartAreas["Default"].AxisX.ScaleView.MinSizeType = DateTimeIntervalType.Weeks;
7 |
8 | ...
9 |
--------------------------------------------------------------------------------
/src/ChartFeatures/InteractiveCharting/ZoomingScrolling/ZoomingExtents/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set the minimum view size to 2 weeks
5 | chart1.ChartAreas("Default").AxisX.ScaleView.MinSize = 2
6 | chart1.ChartAreas("Default").AxisX.ScaleView.MinSizeType = DateTimeIntervalType.Weeks
7 |
8 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/AutoFitAxesLabels/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Enable X axis labels automatic fitting
5 | Chart1.ChartAreas["Default"].AxisX.IsLabelAutoFit = true;
6 |
7 | // Set X axis automatic fitting style
8 | Chart1.ChartAreas["Default"].AxisX.LabelAutoFitStyle =
9 | LabelAutoFitStyle.DecreaseFont | LabelAutoFitStyle.IncreaseFont | LabelAutoFitStyle.WordWrap;
10 |
11 | ...
12 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/AutoFitAxesLabels/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Enable X axis labels automatic fitting
5 | Chart1.ChartAreas("Default").AxisX.IsLabelAutoFit = True
6 |
7 | ' Set X axis automatic fitting style
8 | Chart1.ChartAreas("Default").AxisX.LabelAutoFitStyle =
9 | LabelAutoFitStyle.DecreaseFont Or LabelAutoFitStyle.IncreaseFont Or LabelAutoFitStyle.WordWrap
10 |
11 | ...
12 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/AxisLabelsInterval/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set interval of X axis to 1 week, with an offset of 1 day
5 | chart1.ChartAreas["Default"].AxisX.Interval = 1;
6 | chart1.ChartAreas["Default"].AxisX.IntervalType = DateTimeIntervalType.Weeks;
7 | chart1.ChartAreas["Default"].AxisX.IntervalOffset = 1;
8 | chart1.ChartAreas["Default"].AxisX.IntervalOffsetType = DateTimeIntervalType.Days;
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/AxisLabelsInterval/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set interval of X axis to 1 week, with an offset of 1 day
5 | chart1.ChartAreas("Default").AxisX.Interval = 1
6 | chart1.ChartAreas("Default").AxisX.IntervalType = DateTimeIntervalType.Weeks
7 | chart1.ChartAreas("Default").AxisX.IntervalOffset = 1
8 | chart1.ChartAreas("Default").AxisX.IntervalOffsetType = DateTimeIntervalType.Days
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/AxisVarLabelsInterval/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set interval of X axis to zero, which represents an "Auto" value.
5 | chart1.ChartAreas["Default"].AxisX.Interval = 0;
6 |
7 | // Use variable count algorithm to generate labels.
8 | chart1.ChartAreas["Default"].AxisX.IntervalAutoMode = IntervalAutoMode.VariableCount;
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/AxisVarLabelsInterval/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set interval of X axis to zero, which represents an "Auto" value.
5 | chart1.ChartAreas("Default").AxisX.Interval = 0
6 |
7 | ' Use variable count algorithm to generate labels.
8 | chart1.ChartAreas("Default").AxisX.IntervalAutoMode = IntervalAutoMode.VariableCount
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/EquallySizedAutoFitFont/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Equally sized auto-fit font for all axes
5 | Chart1.ChartAreas["Default"].IsSameFontSizeForAllAxes = true;
6 |
7 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/EquallySizedAutoFitFont/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting.Chart
2 | ...
3 |
4 | ' Equally sized auto-fit font for all axes
5 | Chart1.ChartAreas("Default").IsSameFontSizeForAllAxes = true
6 |
7 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsFormatting/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting.Chart;
2 | ...
3 |
4 | // Disable end labels for the X axis
5 | chart1.ChartAreas["Default"].AxisX.LabelStyle.IsEndLabelVisible = false;
6 |
7 | // Set X axis labels format
8 | chart1.ChartAreas["Default"].AxisX.LabelStyle.Format = "D";
9 |
10 | // Set Y axis labels format
11 | chart1.ChartAreas["Default"].AxisY.LabelStyle.Format = "C0";
12 |
13 | // Set series point labels format
14 | chart1.Series["Series1"].LabelFormat = "P3";
15 |
16 | // Set series point labels color
17 | chart1.Series["Series1"].FontColorCombo = Color.Navy;
18 |
19 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsFormatting/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting.Chart
2 | ...
3 |
4 | ' Disable end labels for the X axis
5 | Chart1.ChartAreas("Default").AxisX.LabelStyle.IsEndLabelVisible = False
6 |
7 | ' Set X axis labels format
8 | Chart1.ChartAreas("Default").AxisX.LabelStyle.Format = "D"
9 |
10 | ' Set Y axis labels format
11 | Chart1.ChartAreas("Default").AxisY.LabelStyle.Format = "C0"
12 |
13 | ' Set series point labels format
14 | Chart1.Series("Series1").LabelFormat = "P3"
15 |
16 | ' Set series point labels color
17 | Chart1.Series("Series1").FontColorCombo = Color.Navy
18 |
19 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsKeywords/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set axis labels
5 | Chart1.Series["Series1"].AxisLabel = "Month: #VALX{MMM}\nDay: #VALX{dd}";
6 |
7 | // Set series point's labels. On the first line we display
8 | // the first Y value, and on the second line we display the X value.
9 | Chart1.Series["Series1"].Label = "Y = #VALY\nX = #VALX";
10 |
11 | ...
12 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsKeywords/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set axis labels
5 | Chart1.Series("Series1").AxisLabel = "Month: #VALX{MMM}" + ControlChars.Lf + "Day: #VALX{dd}"
6 |
7 | ' Set series point's labels. On the first line we display
8 | ' the first Y value, and on the second line we display the X value.
9 | Chart1.Series("Series1").Label = "Y = #VALY" + ControlChars.Lf + "X = #VALX"
10 |
11 | ...
12 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsNextToAxis/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set X and Y axis crossing points
5 | chart1.ChartAreas["Default"].AxisX.Crossing = 0;
6 | chart1.ChartAreas["Default"].AxisY.Crossing = 0;
7 |
8 | // Position the X axis labels and tick marks to the area border
9 | chart1.ChartAreas["Default"].AxisX.IsMarksNextToAxis = false;
10 |
11 | // Position the Y axis labels and tick marks next to the axis
12 | chart1.ChartAreas["Default"].AxisY.IsMarksNextToAxis = true;
13 |
14 | ...
15 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsNextToAxis/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set X and Y axis crossing points
5 | Chart1.ChartAreas("Default").AxisX.Crossing = 0
6 | Chart1.ChartAreas("Default").AxisY.Crossing = 0
7 |
8 | ' Position the X axis labels and tick marks to the area border
9 | Chart1.ChartAreas("Default").AxisX.IsMarksNextToAxis = False
10 |
11 | ' Position the Y axis labels and tick marks next to the axis
12 | Chart1.ChartAreas("Default").AxisY.IsMarksNextToAxis = True
13 |
14 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/LabelsTextStyle/LabelsTextStyle.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Labels/LabelsTextStyle/LabelsTextStyle.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/MultilineLabels/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Show data points values as labels
5 | chart1.Series["Series1"].IsValueShownAsLabel = true;
6 |
7 | // Set axis label
8 | chart1.Series["Series1"].Points[2].AxisLabel = "My Axis Label\nLabel Line #2";
9 |
10 | // Set data point label
11 | chart1.Series["Series1"].Points[2].Label = "My Point Label\nLabel Line #2";
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/MultilineLabels/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Show data points values as labels
5 | Chart1.Series("Series1").IsValueShownAsLabel = True
6 |
7 | ' Set axis label
8 | Chart1.Series("Series1").Points(2).AxisLabel = "My Axis Label" + ControlChars.Lf + "Label Line #2"
9 |
10 | ' Set data point label
11 | Chart1.Series("Series1").Points(2).Label = "My Point Label" + ControlChars.Lf + "Label Line #2"
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Overview/AutoXAxisLabels.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Labels/Overview/AutoXAxisLabels.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Overview/Keywords.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Labels/Overview/Keywords.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Overview/LabelInterval.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Labels/Overview/LabelInterval.bmp
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Overview/SmartLabels.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Labels/Overview/SmartLabels.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Labels
7 | Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Labels, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Smart Labels/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting.Chart;
2 | ...
3 |
4 | chart1.Series["Default"].SmartLabelStyle.Enabled = true;
5 | chart1.Series["Default"].SmartLabelStyle.AllowOutsidePlotArea = LabelOutsidePlotAreaStyle.Partial;
6 | chart1.Series["Default"].SmartLabelStyle.CalloutLineAnchorCap = LineAnchorCapStyle.Diamond;
7 | chart1.Series["Default"].SmartLabelStyle.CalloutLineColor = Color.Red;
8 | chart1.Series["Default"].SmartLabelStyle.CalloutLineWidth = 2;
9 | chart1.Series["Default"].SmartLabelStyle.CalloutStyle = LabelCalloutStyle.Box;
10 |
11 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Labels/Smart Labels/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting.Chart
2 | ...
3 |
4 | chart1.Series("Default").SmartLabelStyle.Enabled = True
5 | chart1.Series("Default").SmartLabelStyle.AllowOutsidePlotArea = LabelOutsidePlotAreaStyle.Partial
6 | chart1.Series("Default").SmartLabelStyle.CalloutLineAnchorCap = LineAnchorCapStyle.Diamond
7 | chart1.Series("Default").SmartLabelStyle.CalloutLineColor = Color.Red
8 | chart1.Series("Default").SmartLabelStyle.CalloutLineWidth = 2
9 | chart1.Series("Default").SmartLabelStyle.CalloutStyle = LabelCalloutStyle.Box
10 |
11 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendAppearance/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set Legend's visual attributes
5 | chart1.Legends["Default"].BackColor = Color.MediumSeaGreen;
6 | chart1.Legends["Default"].BackSecondaryColor = Color.Green;
7 | chart1.Legends["Default"].BackGradientStyle = GradientStyle.DiagonalLeft;
8 |
9 | chart1.Legends["Default"].BorderColor = Color.Black;
10 | chart1.Legends["Default"].BorderWidth = 2;
11 | chart1.Legends["Default"].BorderDashStyle = ChartDashStyle.Solid;
12 |
13 | chart1.Legends["Default"].ShadowOffset = 2;
14 |
15 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendAppearance/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set Legend's visual attributes
5 | Chart1.Legends("Default").BackColor = Color.MediumSeaGreen
6 | Chart1.Legends("Default").BackSecondaryColor = Color.Green
7 | Chart1.Legends("Default").BackGradientStyle = GradientStyle.DiagonalLeft
8 |
9 | Chart1.Legends("Default").BorderColor = Color.Black
10 | Chart1.Legends("Default").BorderWidth = 2
11 | Chart1.Legends("Default").BorderDashStyle = ChartDashStyle.Solid
12 |
13 | Chart1.Legends("Default").ShadowOffset = 2
14 |
15 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendCellColumns/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Setting Multiple Columns
5 | thumbnail.jpg
6 | Setting Multiple Columns
7 | LegendCellColumns
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Legend, Cell Columns
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendCellSpan/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Legend Cell Span
5 | thumbnail.jpg
6 | Legend Cell Span
7 | LegendCellSpan
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Legend, Cell Span
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendCells/greensmallarrow.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:3b58e22da6ad41f220cf5480b9da9bbe545ec621217d90a5919ee5d68f1d6371
3 | size 496
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendCells/redsmallarrow.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:cd3e50c68d8fc24b1b82f9da4ec90ebc5aa1a8a02ad62e97a8ea526f42cc56e7
3 | size 494
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendCustomItems/Flag.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/LegendCustomItems/Flag.gif
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendFont/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set Title font
5 | chart1.Legends["Default"].Font = new Font("Times New Roman",12, FontStyle.Bold);
6 |
7 | // Set Title color
8 | chart1.Legends["Default"].FontColorCombo = Color.Red;
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendFont/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Legend Font
5 | thumbnail.jpg
6 | Setting Legend Font Appearance
7 | LegendFont
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Legend, Font
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendFont/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set Title font
5 | Chart1.Legends("Default").Font = New Font("Times New Roman", 12, FontStyle.Bold)
6 |
7 | ' Set Title color
8 | Chart1.Legends("Default").FontColorCombo = Color.Red
9 |
10 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendInteractive/chk_checked.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:41f86cc3501501495c19b4cdff6057bd799376153be3de9836e0518dc227a4f1
3 | size 26221
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendInteractive/chk_unchecked.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:ce43c5ea1ef910d098adb5b5694342dbf0426223a3517293dcf043989e05dac8
3 | size 300
4 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/LegendInteractive/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Interactive Legend
5 | thumbnail.jpg
6 | Interactive Legend
7 | LegendInteractive
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Legend, Interactive
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/MultipleLegends/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Add the second legend
5 | Chart1.Legends.Add(new Legend("Second"));
6 |
7 | // Associate the last three series to the new legend
8 | Chart1.Series["Series 3"].Legend = "Second";
9 | Chart1.Series["Series 4"].Legend = "Second";
10 | Chart1.Series["Series 5"].Legend = "Second";
11 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/MultipleLegends/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Add the second legend
5 | Chart1.Legends.Add(New Legend("Second"))
6 |
7 | ' Associate the last three series to the new legend
8 | Chart1.Series("Series 3").Legend = "Second"
9 | Chart1.Series("Series 4").Legend = "Second"
10 | Chart1.Series("Series 5").Legend = "Second"
11 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/MultipleLegendsWithCheckBox/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Multiple Legends
6 | thumbnail.jpg
7 | Using Multiple Legends
8 | MultipleLegendsWithCheckBox
9 |
10 | cscode.txt
11 | vbcode.txt
12 |
13 |
14 | Multiple legends
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/Alignment.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/Alignment.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/CustomItems.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/CustomItems.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/Keywords.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/Keywords.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/LegendDiagram3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/LegendDiagram3.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/LegendDiagram4.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/LegendDiagram4.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/LegendGradients.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/LegendGradients.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/SeriesSymbol3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Legend/Overview/SeriesSymbol3.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Legend/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Legends
7 | Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Legend, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Palettes/cscode.txt:
--------------------------------------------------------------------------------
1 |
2 | using System.Windows.Forms.DataVisualization.Charting
3 | ...
4 |
5 | // Standard palette
6 | chart2.Palette = ChartColorPalette.BrightPastel;
7 |
8 | // Use a custom palette
9 | Color[] colorSet = new Color[4] { Color.Red, Color.Blue, Color.Green, Color.Purple };
10 | chart2.PaletteCustomColors = colorSet;
11 | chart2.Palette = ChartColorPalette.None;
12 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Palettes/vbcode.txt:
--------------------------------------------------------------------------------
1 |
2 | Imports System.Windows.Forms.DataVisualization.Charting
3 | ...
4 |
5 | ' Standard palette
6 | chart2.Palette = ChartColorPalette.BrightPastel
7 |
8 | ' Use a custom palette
9 | Dim colorSet(4) As Color = {Color.Red, Color.Blue, Color.Green, Color.Purple }
10 | chart2.PaletteCustomColors = colorSet
11 | chart2.Palette = ChartColorPalette.None
12 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Printing/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Printing
7 | Printing
8 |
9 | Overview.htm
10 |
11 |
12 | Printing, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Printing/PrintingAndPreviewing/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Show Page Setup dialog
5 | chart1.Printing.PageSetup();
6 |
7 | // Print preview chart
8 | chart1.Printing.PrintPreview();
9 |
10 | // Print chart (without Printer dialog)
11 | chart1.Printing.Print(false);
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Printing/PrintingAndPreviewing/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Show Page Setup dialog
5 | chart1.Printing.PageSetup()
6 |
7 | ' Print preview chart
8 | chart1.Printing.PrintPreview()
9 |
10 | ' Print chart (without Printer dialog)
11 | chart1.Printing.Print(False)
12 |
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Printing/PrintingSettings/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Programmatic Print Settings
5 | thumbnail.jpg
6 | Programmatic Print Settings
7 | PrintingSettings
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Printing, Settings
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/BasicSerialization/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using System.Windows.Forms.DataVisualization.Charting;
3 | ...
4 |
5 | // Save first chart into the memory stream
6 | chart2.Serializer.Content = SerializationContents.Default;
7 | MemoryStream ms = new MemoryStream();
8 | chart1.Serializer.Save(ms);
9 |
10 | // Load data from memory stream into the second chart
11 | ms.Seek(0, SeekOrigin.Begin);
12 | chart2.Serializer.Load(ms);
13 | ms.Close();
14 | ...
15 |
16 | // Reset visual appearance of the second chart
17 | chart2.Serializer.Content = SerializationContents.Appearance;
18 | chart2.Serializer.Reset();
19 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/BasicSerialization/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Basic Serialization
5 | thumbnail.jpg
6 | Chart Serialization
7 | BasicSerialization
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Serialization
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/BasicSerialization/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.IO
2 | Imports System.Windows.Forms.DataVisualization.Charting
3 | ...
4 |
5 | ' Save first chart into the memory stream
6 | chart2.Serializer.Content = SerializationContents.Default
7 | Dim ms As New MemoryStream()
8 | chart1.Serializer.Save(ms)
9 |
10 | ' Load data from memory stream into the second chart
11 | ms.Seek(0, SeekOrigin.Begin)
12 | chart2.Serializer.Load(ms)
13 | ms.Close()
14 | ...
15 |
16 | ' Reset visual appearance of the second chart
17 | chart2.Serializer.Content = SerializationContents.Appearance
18 | chart2.Serializer.Reset()
19 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Serialization
7 | Serialization
8 |
9 | Overview.htm
10 |
11 |
12 | Serialization, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/Templates/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | if(comboBoxTemplate.Text == "None")
5 | {
6 | // Reset chart appearance
7 | chart1.Serializer.Content = SerializationContents.Appearance;
8 | chart1.Serializer.Reset();
9 | }
10 | else
11 | {
12 | // Load appearance template
13 | chart1.Serializer.IsResetWhenLoading = false;
14 | chart1.LoadTemplate("MyTemplate.xml");
15 | }
16 | ...
17 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/Templates/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Using Templates
5 | thumbnail.jpg
6 | Templates
7 | Templates
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Serialization, Overview
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Serialization/Templates/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | If comboBoxTemplate.Text = "None" Then
5 | ' Reset chart appearance
6 | chart1.Serializer.Content = SerializationContents.Appearance
7 | chart1.Serializer.Reset()
8 | Else
9 | ' Load appearance template
10 | chart1.Serializer.IsResetWhenLoading = False
11 | chart1.LoadTemplate("MyTemplate.xml")
12 | End If
13 | ...
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/ChartTitle/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Chart Title
5 | thumbnail.jpg
6 | Setting Chart Title Appearance
7 | ChartTitle
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 | Title, Chart
14 | Appearance, Chart title
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/MultipleTitles/MultilpleTitles.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Titles/MultipleTitles/MultilpleTitles.cs
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/Overview/MultiLine.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Titles/Overview/MultiLine.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/Overview/TitleAppearance.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Titles/Overview/TitleAppearance.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/Overview/TitleDocking.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Titles/Overview/TitleDocking.PNG
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Overview
5 | thumbnail.jpg
6 | Overview of Titles
7 | Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Title, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/ChartFeatures/Titles/TitlePosition/Overview.htm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartFeatures/Titles/TitlePosition/Overview.htm
--------------------------------------------------------------------------------
/src/ChartOverview/TOCNodes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Overview
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/ChartOverview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Overview
6 |
7 | Overview of Samples Environment
8 | None
9 |
10 |
11 | Overview.htm
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/2D100StackedArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:2c74591ef4d9a66372b7e9ea133d2a5f363af168f689c11a5b9e601c9b1ec167
3 | size 16438
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/2DArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:32b80c392d9e14e19827656b760ed17c8855916559347a652500eac060a1115a
3 | size 17118
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/2DSplineArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:3bfe389c5004955a4b31cfd5bba701cdef71b0408a928dcf875b601cbd0ba424
3 | size 16748
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/2DStackedArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:1aa63bee10e0c78d43df24a1666770cda24e551bb96bb6e04fb243bddfbd3e30
3 | size 14641
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/3DArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:c314a20dbd6dc689373ccd7b0b844dce238d22c2fdde537610089d6b9422d366
3 | size 26259
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/3DSplineArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:26dbf58f56cfd2da6243b7d86c2db29f84dc6a1b66ea9a6c2bd8ae02f5d6fbe7
3 | size 34046
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/AreaCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Area Chart Gallery
8 | None
9 |
10 | AreaGallery.htm
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/3DBarColumn/BarColumn3D.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/BarColumnCharts/3DBarColumn/BarColumn3D.cs
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/3DBarColumn/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set Bar chart type
5 | Chart1.Series["Default"].ChartType = SeriesChartType.Bar;
6 |
7 | // Disable X axis margin
8 | Chart1.ChartAreas["Default"].AxisX.IsMarginVisible = false;
9 |
10 | // Enable 3D charts
11 | Chart1.ChartAreas["Default"].Area3DStyle.Enable3D = true;
12 |
13 | // Set Rotation angles
14 | Chart1.ChartAreas["Default"].Area3DStyle.Rotation = 30;
15 | Chart1.ChartAreas["Default"].Area3DStyle.Inclination = 10;
16 |
17 | // Disable/enable right angle axis
18 | Chart1.ChartAreas["Default"].Area3DStyle.IsRightAngleAxes = false;
19 | ...
20 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/3DBarColumn/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set Bar chart type
5 | Chart1.Series("Default").ChartType = SeriesChartType.Bar
6 |
7 | ' Disable X axis margin
8 | Chart1.ChartAreas("Default").AxisX.IsMarginVisible = false
9 |
10 | ' Enable 3D charts
11 | Chart1.ChartAreas("Default").Area3DStyle.Enable3D = true
12 |
13 | ' Set Rotation angles
14 | Chart1.ChartAreas("Default").Area3DStyle.Rotation = 30
15 | Chart1.ChartAreas("Default").Area3DStyle.Inclination = 10
16 |
17 | ' Disable/enable right angle axis
18 | Chart1.ChartAreas("Default").Area3DStyle.IsRightAngleAxes = false
19 | ...
20 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/3DCylinder/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set Bar chart type
5 | Chart1.Series["Default"].ChartType = SeriesChartType.Bar;
6 |
7 | // Enable 3D charts
8 | Chart1.ChartAreas["Default"].Area3DStyle.Enable3D = true;
9 |
10 | // Set Cylinder drawing style
11 | Chart1.Series["Default"]["DrawingStyle"] = "Cylinder";
12 | ...
13 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/3DCylinder/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set Bar chart type
5 | Chart1.Series("Default").ChartType = SeriesChartType.Bar
6 |
7 | ' Enable 3D charts
8 | Chart1.ChartAreas("Default").Area3DStyle.Enable3D = true
9 |
10 | ' Set Cylinder drawing style
11 | Chart1.Series("Default")("DrawingStyle") = "Cylinder"
12 | ...
13 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/BarColumn/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set series chart type
5 | Chart1.Series("Default").ChartType = SeriesChartType.Bar
6 |
7 | ' Set series point width
8 | Chart1.Series("Default")("PointWidth") = "0.6"
9 |
10 | ' Show data points labels
11 | Chart1.Series("Default").IsValueShownAsLabel = True
12 |
13 | ' Set data points label style
14 | Chart1.Series("Default")("BarLabelStyle") = "Center"
15 |
16 | ' Display as 3D
17 | Chart1.ChartAreas("Default").Area3DStyle.Enable3D = True
18 |
19 | ' Draw the chart as embossed
20 | chart1.Series("Default")("DrawingStyle") = "Emboss"
21 |
22 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/Gallery/2DBar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:b944f43fdb918d38a00625223b0c69854d2128d4a19c0073dde7c0efd2e7482b
3 | size 17774
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/Gallery/2DColumn.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:3c1ff60d3c9cc61fa26a5fda2c3db5d4b2461926409fc790651849c112815def
3 | size 12564
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/Gallery/3D100StackedBar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:b83b59857b442238dbd9a9d8641d7f2458f156fb802c0620250a305b9bc2a564
3 | size 51448
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/Gallery/3DBar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:84402716a6d3477218e35549f600c921a1c14d685236acb602582e31c4a35121
3 | size 61920
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/Gallery/3DColumn.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:e043e0c7d752be223910e5a418d93f94f93ac57a8caa28eed1686b733c191ae9
3 | size 51712
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/BarColumnCharts/Gallery/3DStackedBar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:b8eeff5edac0fce1cbe993c5690544ad2e968e34c2bd4121c39661e3dd83619b
3 | size 23874
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/2DPolar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:671e3f9a382e1112bfc62782a953afd4b0c89f2128b2faedc66d750030c31b05
3 | size 22643
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/2DPolarMarker.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:351326fe9ddd688dc328d9f8dd9ee90c63f47adff7e16fa22f4df6d261d57c71
3 | size 21682
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/2DRadarArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:dde80be4cfe93bc0ae7d5af01ba4e5698fa3af9601390508243207dbc23a7ef3
3 | size 27471
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/2DRadarMarker.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:62043f402130dbbdd0ca8ca1cfaea56bc023b5e57233a6326c0b51031ef94c64
3 | size 21050
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/3DPolar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:9688f1f61cdc67e2c0cb0a8d890c5a383286a50bc5e1741a53926816e4222eef
3 | size 29232
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/3DRadarArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:4c00444d65cd56e46dbf7556e125e1a766803e8623d3a1ac8511515d42958df5
3 | size 25503
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Circular Chart Gallery
8 | None
9 |
10 | CircularGallery.htm
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/ChartTypes/CircularCharts/Polar/PolarChartType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/CircularCharts/Polar/PolarChartType.cs
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Combinatorial/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set series chart types
5 | chart1.Series["Series1"].ChartType = SeriesChartType.Column;
6 | chart1.Series["Series2"].ChartType = SeriesChartType.Spline;
7 | chart1.Series["Series3"].ChartType = SeriesChartType.Point;
8 |
9 | // Set to 3D
10 | chart1.ChartAreas["Default"].Area3DStyle.Enable3D=true;
11 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Combinatorial/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set series chart types
5 | Chart1.Series("Series1").ChartType = SeriesChartType.Column
6 | Chart1.Series("Series2").ChartType = SeriesChartType.Spline;
7 | Chart1.Series("Series3").ChartType = SeriesChartType.Point
8 |
9 | ' Set to 3D
10 | Chart1.ChartAreas("Default").Area3DStyle.Enable3D = True
11 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Gallery/ColumnArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:fa18465b87503bdbb54ded0fbcc81ffb1b803475f52801a43d45605138e8d2ce
3 | size 45090
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Gallery/LineArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:9232296018381d340b73a9e3cb1da0768bbbdec802c4a9939428f835b064f12c
3 | size 24552
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Gallery/Pareto.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:8125e661cbbe5b3bf5f06644a0943ce57ae71b79d7204ae358b944fb43c010b1
3 | size 17757
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Gallery/StockArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:111a45f34c442bc4df99963734ff5b8673b7478d9db76e4058149b478d03c344
3 | size 30044
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/CombinationalCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Combining Chart Types
8 | None
9 |
10 | CombinationGallery.htm
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/ChartTypes/ErrorBar/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Error Bar Chart
6 | thumbnail.jpg
7 | Error Bar Chart Type
8 | ErrorBarChartType
9 |
10 | cscode.txt
11 | vbcode.txt
12 |
13 |
14 |
15 | Chart type, Error bar
16 | Error bar chart
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/Bollinger1.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:1e33dee0bfe22e295adc2cfa1725afbfe6dde848554c47979f289ff6c58b1e5e
3 | size 50002
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/Bollinger2.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:a9be07705368b0cf3a1f7b5a89e96c5aa51dc5cbdc768308ab96f78e1c238cd8
3 | size 74752
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/CandleStick.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:6d9e6383c26e4dfc027aa6f82ef426665cfebd165e0116b3bc89e1aa93b0a86a
3 | size 40714
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/Forecasting.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:591b505e1793577e6b16ed321040d815942832a9c08b05c276d18ed1a0cc1a79
3 | size 66386
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/PriceIndicators.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:01f7c9d2935580a26c8421511a03f2547ba1a4b3a00ad38e8b855b7de873aae5
3 | size 68021
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/Stock.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:7ac6ac18581ffc0ce04c6ed918602d0aea5115ae8f64e730b02b23d66ea42666
3 | size 30974
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Advanced Financial Chart Gallery
8 | None
9 |
10 | FinancialGallery.htm
11 |
12 |
13 |
14 | Gallery, Advanced Financial Charts
15 | Advanced Financial Charts, Gallery
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Stock/DividentLegend.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/FinancialCharts/Stock/DividentLegend.bmp
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Stock/DividentMarker.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/FinancialCharts/Stock/DividentMarker.bmp
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Stock/SplitLegend.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/FinancialCharts/Stock/SplitLegend.bmp
--------------------------------------------------------------------------------
/src/ChartTypes/FinancialCharts/Stock/SplitMarker.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/FinancialCharts/Stock/SplitMarker.bmp
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/FastLine/FastLineChartType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/LineCharts/FastLine/FastLineChartType.cs
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/FastLine/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Fill series data
5 | double yValue = 50.0;
6 | Random random = new Random();
7 | for(int pointIndex = 0; pointIndex < 20000; pointIndex ++)
8 | {
9 | yValue = yValue + ( random.NextDouble( ) * 10.0 - 5.0 );
10 | chart1.Series["Default"].Points.AddY(yValue);
11 | }
12 |
13 | // Set fast line chart type
14 | chart1.Series["Default"].ChartType = SeriesChartType.FastLine;
15 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/FastLine/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Fill series data
5 | Dim yValue As Double = 50.0
6 | Dim random As New Random()
7 | Dim pointIndex As Integer
8 | For pointIndex = 0 To 19999
9 | yValue = yValue +(random.NextDouble() * 10.0 - 5.0)
10 | chart1.Series("Default").Points.AddY(yValue)
11 | Next pointIndex
12 |
13 | ' Set fast line chart type
14 | chart1.Series("Default").ChartType = SeriesChartType.FastLine
15 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/2DFastLine.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:7d354079006b40e313cd4de845340a928a86bf05363daf151c5f9d441968ad63
3 | size 26676
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/2DLine.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:b19a8d4af5ee5688f66534e6b7f7cf48a2c565d3e829706b48f7c4e3b5b55da0
3 | size 41970
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/2DLineMarkers.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:2406826868e6ec77602d9984b06113e9321dc4b2e38908ee4702b2b44570ac4b
3 | size 22328
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/2DSpline.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:a442e161bec11200c3b4ac9173424a1ad65e7b8ecf6606c6a37bb54cd6042fb5
3 | size 19163
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/2DStepLine.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:88caef246f5b96af19350407b4a60502ffbcff980110396023e7e78b595fdeb1
3 | size 14308
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/3DSpline.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:cc3ea32671d009ad8fd609b441d54cb0e50739236656daec683df659dafc6082
3 | size 33380
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/LineCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Line Chart Gallery
8 | None
9 |
10 | LineGallery.htm
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/2DBeltPieChart.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:e3dbdcf4c2ca4b2deb556c71f300102f4aac72a533446069d65265d2b5215ea3
3 | size 18404
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/2DDoughnut.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:22298e65f9c3a2f7fbc85416090ec8adfc4b30e26fbcb29351aa07fd85fa3dbc
3 | size 14945
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/2DDoughnut2.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:a458dfe3e807d7fd0494a356d6e36371d3c5cd10a2fbc84fed15d733f7a44eda
3 | size 33866
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/2DSupplementalPie.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:b19811bcb65f2ac0eecac7921197ec0d52881aadac37c0681d3831952026f431
3 | size 20031
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/3DPie2.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:93e385268f43dc644377ad4fab75c7fed9f438a505e3f2bb6be9ef41e378da3d
3 | size 18934
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/3DPie3.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:175df754353194f66a87b3ce6b2d0b75151a21c907263ffcf549a98cffff3b81
3 | size 16214
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/3DPieInPie.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:99b488b502768c73e1f54848bb05385c6e2887610c325c871562003f570bdd28
3 | size 21928
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/3DStepPie.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:abccd3c31bb0d0e873122c1eb03a0248139753171cc94f66bd29aa82230dd71a
3 | size 24751
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Pie and Doughnut Chart Gallery
8 | None
9 |
10 | PieDoughnutGallery.htm
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/ChartTypes/PieDoughnutCharts/PieCollectedData/PieCollectedData.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/PieDoughnutCharts/PieCollectedData/PieCollectedData.cs
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Bubble/Face.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/PointCharts/Bubble/Face.bmp
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/2DBubble.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:fd9bc24be3771ff332b6784a5d367130bc07acc79f003fed699cc69d15bcdb8a
3 | size 15616
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/2DPoint.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:69b54a00bdb3774882e44bc30a3b6e1edb28d513dde6a1ec41df1480c72677b3
3 | size 15038
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/2DPointCustom.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:fe300a5ab1d5e5a7f46455598dd64c562b574b99af0b5dc0a8ce16a30008f7a5
3 | size 13822
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/2DPointLabels.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:64200c9049602c774f15089846f352f4291aae29a65c1691e5de66c654d0ec27
3 | size 26348
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/2DPointShapes.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:d450bf758e95b6dd75e7d30630ab541c5b723087b7cfded4b858e019d07232e7
3 | size 18291
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/3DBubble.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:7b522c1424b7f47155ae98185798b7974f2f04feaa9bba5ad6ec4d14a66cb6fb
3 | size 27423
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/FastPoint.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:e0539a97d0a46a8ef917d55b1c569adcdf05058349af41a482027e9b92fce107
3 | size 24312
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PointCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Point and Bubble Chart Gallery
8 | None
9 |
10 | PointBubbleGallery.htm
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/Gallery/2DKagi.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:2370ffba1a69a6487e3784e43abeb16fa60c44497a98cf6b7706e7f255cc6003
3 | size 9942
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/Gallery/2DPointFigure.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:4da2442666737b4a91d67053971b3ba798a97f9b28d955795cb612f99cd6a23b
3 | size 28862
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/Gallery/2DRenko.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:ee9c2dd7d506e4854fb5656f7fbce4ac69316b542fa7ea606b2daeec8cb9941c
3 | size 9467
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/Gallery/2DThreeLine.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:136292949e6ef35a2dd8e4ceb6ff9ad59c96b878bd5fdc60777ee0c8ecaca8fb
3 | size 9990
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/Gallery/3DThreeLine.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:c13ecc5fcf77a1e68130f467c1250b9b09d23b9ae3ea1e8cc10593ade7af8e6a
3 | size 17453
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/Kagi/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set series chart type
5 | chart1.Series("Default").ChartType = SeriesChartType.Kagi
6 |
7 | ' Set the PriceUpColor attribute
8 | chart1.Series("Default")("PriceUpColor") = "SkyBlue"
9 |
10 | ' Set the default color - price-down
11 | Chart1.Series("Default").Color = Color.Tomato;
12 |
13 |
14 | ' Clear attribute, let the default ReversalAmount to be calculated
15 | chart1.Series("Default").DeleteCustomProperty("ReversalAmount")
16 |
17 | ' Set the ReversalAmount attribute
18 | chart1.Series("Default")("ReversalAmount") = "1%"
19 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/PriceRangeFinancialCharts/PointAndFigure/PointAndFigureChartType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/PriceRangeFinancialCharts/PointAndFigure/PointAndFigureChartType.cs
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/2DPyramid.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:1a30142fa4e15e828b78437c9ba7af516340b32e839bd36b4f8c168599c8cda8
3 | size 11522
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/3DFunnel.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:8aabec6759710af2f5c529ce14fe3188dc8ca95baf7176fd71edfc03a87cc251
3 | size 17794
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/3DFunnelGap.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:430b2535fc519b6321d5b77314ce7cce76f1884a6d399f855aa5181363beef87
3 | size 14852
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/3DFunnelWidth.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:3ac432fec84b272e4309edc4afcd330605765dff7657585c3070da6c4417bed3
3 | size 14368
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/3DPyramid.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:3fdd5930db3c94eb3b5c071c2e135889d857944e8ec8415a0775868299981c02
3 | size 15908
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/3DPyramidGap.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:326658a643bd98482844082169cce44254772c94fc07f65996af9b8e70af6b8b
3 | size 12564
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/PyramidFunnelCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Pyramid and Funnel Chart Gallery
8 | None
9 |
10 | AccumulationGallery.htm
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/2DRange.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:6f21d8822341c26998d4d2806fd62695946ceb1f22ba8270ea05b7bbe9e1d6ee
3 | size 23462
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/2DRangeBar.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:9a9bdca08f7357543eef8fdf674fbb793a1cdd774f7c82517d798383a869b9d6
3 | size 10562
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/2DRangeColumn.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:08edf37d16c60c9a9e71cb6ba20a68ee8d243ede7253b9327958779230240581
3 | size 15713
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/2DSplineRange.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:37344307e98a20b736236c9f5d66febd18a0f004fb293a45504ebd3ad9e36ef7
3 | size 24155
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/3DRange.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:d7e999696ed0837d969b363adc46d5da9c2402eff8638c6a916f5e632a9931ce
3 | size 37303
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/3DSplineRange.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:779c35757b3146013d3292d4961a0ea4522531dd35d669918780fd7ee3046afa
3 | size 41723
4 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/Gallery/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Gallery
6 | thumbnail.jpg
7 | Range Chart Gallery
8 | None
9 |
10 | RangeGallery.htm
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/RangeColumn/RangeColumnChartType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/ChartTypes/RangeCharts/RangeColumn/RangeColumnChartType.cs
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/RangeColumn/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Set range column chart type
5 | chart1.Series["Series1"].ChartType = SeriesChartType.RangeColumn;
6 |
7 | // Set the side-by-side drawing style
8 | chart1.Series["Series1"]["DrawSideBySide"] = "false";
9 |
10 | // Set Cylinder drawing style
11 | chart1.Series["Series1"]["DrawingStyle"] = "Cylinder";
12 | ...
--------------------------------------------------------------------------------
/src/ChartTypes/RangeCharts/RangeColumn/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Set range column chart type
5 | Chart1.Series("Series1").ChartType = SeriesChartType.RangeColumn
6 |
7 | ' Set the side-by-side drawing style
8 | Chart1.Series("Series1")("DrawSideBySide") = "false"
9 |
10 | ' Set Cylinder drawing style
11 | chart1.Series("Series1")("DrawingStyle") = "Cylinder"
12 | ...
--------------------------------------------------------------------------------
/src/ClassDiagram1.cd:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/GettingStarted/BasicPopulatingData/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Basic Data Population
5 | thumbnail.jpg
6 | Populating the Chart with Data
7 | BasicPopulatingData
8 |
9 | cscode.txt
10 | vbcode.txt
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/GettingStarted/ChartElements/ChartElementsFinished.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:c6d2b516af03a7d5440c1722cd54d441cb5a41fc8f475a9ad450ab2b9f5d94cc
3 | size 39994
4 |
--------------------------------------------------------------------------------
/src/GettingStarted/ChartElements/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Chart Elements
5 | thumbnail.jpg
6 | Chart Elements Overview
7 | None
8 |
9 | Overview.htm
10 |
11 |
12 | Data, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/GettingStarted/CoordinateSystem/CoordinateSystem.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/GettingStarted/CoordinateSystem/CoordinateSystem.bmp
--------------------------------------------------------------------------------
/src/GettingStarted/CoordinateSystem/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Coordinate System
5 | thumbnail.jpg
6 | Coordinate System
7 | None
8 |
9 | Overview.htm
10 |
11 |
12 | Data, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/GettingStarted/CreatingFirstChart/CollectionEditor.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/GettingStarted/CreatingFirstChart/CollectionEditor.jpg
--------------------------------------------------------------------------------
/src/GettingStarted/CreatingFirstChart/dragIcon3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/GettingStarted/CreatingFirstChart/dragIcon3.jpg
--------------------------------------------------------------------------------
/src/GettingStarted/CreatingFirstChart/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Creating a Basic Chart
5 | thumbnail.jpg
6 | Creating a Basic Chart
7 | None
8 |
9 | Overview.htm
10 |
11 |
12 | Data, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/GettingStarted/SeriesAndPoints/CandleStick.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:6d9e6383c26e4dfc027aa6f82ef426665cfebd165e0116b3bc89e1aa93b0a86a
3 | size 40714
4 |
--------------------------------------------------------------------------------
/src/GettingStarted/SeriesAndPoints/Series_Point_BasicHighlight.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/GettingStarted/SeriesAndPoints/Series_Point_BasicHighlight.PNG
--------------------------------------------------------------------------------
/src/GettingStarted/SeriesAndPoints/Series_Point_BasicSplineChart.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/GettingStarted/SeriesAndPoints/Series_Point_BasicSplineChart.PNG
--------------------------------------------------------------------------------
/src/GettingStarted/SeriesAndPoints/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Series and Points
5 | thumbnail.jpg
6 | Series and Points
7 | Series and Points Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Series and Points, Overview
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/GettingStarted/TOCNodes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Getting Started
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/GettingStarted/Text/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Text Elements
5 | thumbnail.jpg
6 | Text Elements
7 | Text Overview
8 |
9 | Overview.htm
10 |
11 |
12 | Text Elements
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/GettingStarted/Text/text_elements.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/GettingStarted/Text/text_elements.PNG
--------------------------------------------------------------------------------
/src/Images/FDist.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/FDist.GIF
--------------------------------------------------------------------------------
/src/Images/FooterMiddle.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/FooterMiddle.bmp
--------------------------------------------------------------------------------
/src/Images/GradientChartArea.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:dddc35fdb89f16b3b43daaac9827785bc6883d66f13d5270350510065af74147
3 | size 35840
4 |
--------------------------------------------------------------------------------
/src/Images/HeaderLeft.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/HeaderLeft.bmp
--------------------------------------------------------------------------------
/src/Images/HeaderMiddle.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/HeaderMiddle.bmp
--------------------------------------------------------------------------------
/src/Images/HeaderRight.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/HeaderRight.bmp
--------------------------------------------------------------------------------
/src/Images/MaxValueMarker.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/MaxValueMarker.bmp
--------------------------------------------------------------------------------
/src/Images/Normal.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/Normal.GIF
--------------------------------------------------------------------------------
/src/Images/TDist.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/TDist.GIF
--------------------------------------------------------------------------------
/src/Images/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/Thumbs.db
--------------------------------------------------------------------------------
/src/Images/doc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/doc.bmp
--------------------------------------------------------------------------------
/src/Images/face.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Images/face.bmp
--------------------------------------------------------------------------------
/src/Images/money.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:771455feeab04d4b4f6a83e1364f96c5f5fd6760e123739b80f1391f444b0bc1
3 | size 1130
4 |
--------------------------------------------------------------------------------
/src/MainForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/MainForm.cs
--------------------------------------------------------------------------------
/src/Utilities/ActivityLegend/ActivityLegend.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/ActivityLegend/ActivityLegend.cs
--------------------------------------------------------------------------------
/src/Utilities/DigitalFilter/FFT.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/DigitalFilter/FFT.cs
--------------------------------------------------------------------------------
/src/Utilities/DigitalFilter/FFT.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/DigitalFilter/FFT.vb
--------------------------------------------------------------------------------
/src/Utilities/DigitalFilter/FIRFilters.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/DigitalFilter/FIRFilters.cs
--------------------------------------------------------------------------------
/src/Utilities/DigitalFilter/FIRFilters.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/DigitalFilter/FIRFilters.vb
--------------------------------------------------------------------------------
/src/Utilities/RangeSpliceChartHelper/RangeSpliceChartHelperException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace System.Windows.Forms.DataVisualization.Charting.Utilities
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/src/Utilities/SampleMain/MainForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/SampleMain/MainForm.cs
--------------------------------------------------------------------------------
/src/Utilities/SampleMain/TabPageButton.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/SampleMain/TabPageButton.cs
--------------------------------------------------------------------------------
/src/Utilities/SampleMain/VerticalTabControl.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/SampleMain/VerticalTabControl.cs
--------------------------------------------------------------------------------
/src/Utilities/SixSigma/SixSigma.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/SixSigma/SixSigma.cs
--------------------------------------------------------------------------------
/src/Utilities/SixSigma/SixSigma.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/SixSigma/SixSigma.vb
--------------------------------------------------------------------------------
/src/Utilities/SpikeRemoval/SpikeRemoval.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/Utilities/SpikeRemoval/SpikeRemoval.cs
--------------------------------------------------------------------------------
/src/WinFormsChartSamples.exe:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:f2a55cdeed8f84b3c8a57ddc4118342e23e413d473a16e614731d1784ce24176
3 | size 2195456
4 |
--------------------------------------------------------------------------------
/src/WinFormsChartSamples.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataBinding/DataBindCrossTab/Overview.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Chart.DataBindCrossTable is different compared to all other binding methods in
7 | that it allows for the grouping of unique values in a column. Each unique value
8 | in the specified grouped column results in the creation of a data series.
9 |
10 | Note that the method traverses through the specified data source only once to
11 | perform all binding. In addition, extended data point properties other than X
12 | and Y values can be bound.
6 |
7 | If the data source is set at design-time, the automatically calls the
8 | Chart.DataBind method when it loads. You can also call this method explicitly in
9 | the Page_Load event if extra data bind processing is required.
10 |
11 | This method traverses through the data source only once to bind all data. It
12 | also supports multiple Y values.
6 |
7 | A data source can be queried, and series of data can be added to the chart for
8 | all or some of the returned records.
9 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataBinding/SeriesByRows/SeriesByRows.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataBinding/SeriesByRows/SeriesByRows.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/CopyingSeriesValues/MergingValues/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Merge data from 4 different series into one series that uses 4 Y values
5 | chart1.DataManipulator.CopySeriesValues("High:Y,Low:Y,Open:Y,Close:Y",
6 | "Stock:Y1,Stock:Y2,Stock:Y3,Stock:Y4");
7 |
8 | // Set stock series attributes
9 | chart1.Series["Stock"].ChartType = SeriesChartType.Stock;
10 | chart1.Series["Stock"].BorderWidth = 2;
11 | chart1.Series["Stock"].ShadowOffset = 2;
12 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/CopyingSeriesValues/MergingValues/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Merge data from 4 different series into one series that uses 4 Y values
5 | Chart1.DataManipulator.CopySeriesValues("High:Y,Low:Y,Open:Y,Close:Y", _
6 | "Stock:Y1,Stock:Y2,Stock:Y3,Stock:Y4")
7 |
8 | ' Set stock series attributes
9 | Chart1.Series("Stock").ChartType = SeriesChartType.Stock
10 | Chart1.Series("Stock").BorderWidth = 2
11 | Chart1.Series("Stock").ShadowOffset = 2
12 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Exporting/DataGridBinding/DataGridBinding.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Exporting/DataGridBinding/DataGridBinding.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Exporting/Xml/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting.Chart;
2 | ...
3 |
4 | // Populate chart with random data
5 | Random random = new Random();
6 | for(int pointIndex = 0; pointIndex < 7; pointIndex++)
7 | {
8 | chart1.Series["Series1"].Points.AddXY(DateTime.Now.Date.AddDays(pointIndex), random.Next(1, 1000));
9 | }
10 |
11 | // Export chart series values into the data set
12 | DataSet dataSet = chart1.DataManipulator.ExportSeriesValues("Series1");
13 |
14 | // Get XML data and schema from data set
15 | XMLTextBox.Text = dataSet.GetXml();
16 | SchemaTextBox.Text = dataSet.GetXmlSchema();
17 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Exporting/Xml/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting.Chart
2 | ...
3 |
4 | Dim random As New Random()
5 | Dim pointIndex As Integer
6 | For pointIndex = 0 To 6
7 | Chart1.Series("Series1").Points.AddXY(DateTime.Now.Date.AddDays(pointIndex), random.Next(1, 1000))
8 | Next pointIndex
9 |
10 | ' Export chart series values into the data set
11 | Dim dataSet As DataSet = Chart1.DataManipulator.ExportSeriesValues("Series1")
12 |
13 | ' Get XML data and schema from data set
14 | XMLTextBox.Text = dataSet.GetXml()
15 | SchemaTextBox.Text = dataSet.GetXmlSchema()
16 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Filtering/FilterTopN/FilterTopN.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Filtering/FilterTopN/FilterTopN.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Filtering/FilterYValuesRange/FilterYValuesRange.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Filtering/FilterYValuesRange/FilterYValuesRange.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/FindingSeriesPoints/FindByMaxMinValues/FindByMaxMinValues.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/FindingSeriesPoints/FindByMaxMinValues/FindByMaxMinValues.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/FindingSeriesPoints/FindByMaxMinValues/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Find point with maximum Y value and change color
5 | DataPoint maxValuePoint = chart1.Series["Series1"].Points.FindMaxValue();
6 | maxValuePoint.Color = Color.FromArgb(255, 128, 128);
7 |
8 | // Find point with minimum Y value and change color
9 | DataPoint minValuePoint = chart1.Series["Series1"].Points.FindMinValue();
10 | minValuePoint.Color = Color.FromArgb(128, 128, 255);
11 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/FindingSeriesPoints/FindByMaxMinValues/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Find point with maximum Y value and change color
5 | Dim maxValuePoint As DataPoint = Chart1.Series("Series1").Points.FindMaxValue()
6 | maxValuePoint.Color = Color.FromArgb(255, 128, 128)
7 |
8 | ' Find point with minimum Y value and change color
9 | Dim minValuePoint As DataPoint = Chart1.Series("Series1").Points.FindMinValue()
10 | minValuePoint.Color = Color.FromArgb(128, 128, 255)
11 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/FindingSeriesPoints/FindByValue/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Find all points with second Y value equal to 10 and change their color
5 | Dim index As Integer = 0
6 |
7 | Dim dataPoint As DataPoint = Chart1.Series("Series1").Points.FindValue(10, "Y2", index)
8 | While Not (dataPoint Is Nothing)
9 | dataPoint.Color = Color.FromArgb(255, 128, 128)
10 | index += 1
11 | dataPoint = Chart1.Series("Series1").Points.FindValue(10, "Y2", index)
12 | End While
13 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Grouping/GroupingByAxisLabel/GroupingByAxisLabel.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Grouping/GroupingByAxisLabel/GroupingByAxisLabel.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Grouping/GroupingByAxisLabel/Overview.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Grouping replaces multiple related data points in a series with one data point.
10 | The the X and Y values of each grouped data point are calculated using a
11 | specified formula and the values of the original data points.
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Grouping/GroupingStockData/GroupingStockData.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Grouping/GroupingStockData/GroupingStockData.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Overview/AfterSplitting.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Overview/AfterSplitting.PNG
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Overview/BeforeSplitting.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Overview/BeforeSplitting.PNG
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Overview/FilteredSeries.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Overview/FilteredSeries.PNG
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Overview/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Overview
6 | thumbnail.jpg
7 | Data Manipulation
8 | Overview
9 |
10 | Overview.htm
11 |
12 |
13 | Data Manipulation
14 | Manipulating Data
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/AlignSeries2-a.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:48d7412e93a1c105472b6b5e66f2668d767f343c47fa34f8b6951795aaccaeef
3 | size 23790
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/AlignSeries4-b.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:87f8a5f620aa8ec1dfcecb10be931569a143541e722c9597a49ecc1e8d939a7f
3 | size 23320
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/Grouping2-a.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:0a1446579cc75be7e01a046cdf81d2bce5bc958828df195c25487bfa99cacf3a
3 | size 25109
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/Grouping2-b.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:4172036c10c53cd6d5110c09acb6c364efe3b57d7a00f1e6f698c05a97802e5b
3 | size 17741
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/NoEmptyPoints2-a.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:caa7382c9e17eafef9ac52940dd2fa55630769bd7c5a86907343f9605390b770
3 | size 29553
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/NoEmptyPoints2-b.png:
--------------------------------------------------------------------------------
1 | version https://git-lfs.github.com/spec/v1
2 | oid sha256:48f45366deca967ac202b6bbbebe33a9900fa381bde58449f51761568fb1d85a
3 | size 29861
4 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/SeriesAlignment.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/SeriesAlignment.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Align data series by grouping points and then inserting empty points daily
5 |
6 | // Group series data by day
7 | chart1.DataManipulator.Group("AVE", 1, IntervalType.Days, "Series1, Series2",
8 | "Series3, Series4");
9 |
10 | // Insert Empty Points daily if data point is missing
11 | chart1.DataManipulator.InsertEmptyPoints(1, IntervalType.Days, "Series3, Series4");
12 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SeriesAlignment/SeriesAlignment/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Align data series by grouping points and then inserting empty points daily
5 |
6 | ' Group series data by day
7 | Chart1.DataManipulator.Group("AVE", 1, IntervalType.Days, "Series1, Series2", _
8 | "Series3, Series4")
9 |
10 | ' Insert Empty Points daily if data point is missing
11 | Chart1.DataManipulator.InsertEmptyPoints(1, IntervalType.Days, "Series3, Series4")
12 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Sorting/CustomSortingOrder/CustomSortingOrder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataManipulation/Sorting/CustomSortingOrder/CustomSortingOrder.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Sorting/Sorting/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Use point index for drawing the chart
5 | chart1.Series["Series1"].IsXValueIndexed = true;
6 |
7 | // Sort series' points by second Y value
8 | chart1.DataManipulator.Sort(PointSortOrder.Ascending, "Y2", "Series1");
9 |
10 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/Sorting/Sorting/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Use point index for drawing the chart
5 | Chart1.Series("Series1").IsXValueIndexed = True
6 |
7 | ' Sort series' points by second Y value
8 | Chart1.DataManipulator.Sort(PointSortOrder.Ascending, "Y2", "Series1")
9 |
10 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/SpikeRemoval/sampleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Spike Removal
5 | thumbnail.jpg
6 | Spike Removal
7 | SpikeRemoval
8 |
9 |
10 |
11 | Spike Removal
12 | Remove Data Spikes
13 | Data, Remove Spikes
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataManipulation/TOCNodes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Finding Series Points
6 |
7 |
8 |
9 | Sorting
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataSourceTypes/ArrayBinding/ArrayBinding.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataSourceTypes/ArrayBinding/ArrayBinding.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataSourceTypes/ArrayBinding/Overview.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | The X and Y values of a data series can be bound to arrays of values using
6 | the DataBindXY method.
7 |
8 | The DataBindXY method supports multiple data sources for the X and Y values, as
9 | well as binding to multiple Y values. This is especially useful when working
10 | with chart types that use multiple Y values such as the Bubble chart and Stock
11 | chart.
12 |
13 |
--------------------------------------------------------------------------------
/src/WorkingWithData/DataSourceTypes/ArrayBinding/cscode.txt:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms.DataVisualization.Charting;
2 | ...
3 |
4 | // Initialize an array of doubles
5 | double [] yval = { 2,6,4,5,3};
6 |
7 | // Initialize an array of string
8 | string [] xval = { "Peter", "Andrew", "Julie", "Mary", "Dave"};
9 |
10 | // Bind the double array to the Y axis points of the Default data series
11 | chart1.Series["Series 1"].Points.DataBindXY(xval,yval);
12 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataSourceTypes/ArrayBinding/vbcode.txt:
--------------------------------------------------------------------------------
1 | Imports System.Windows.Forms.DataVisualization.Charting
2 | ...
3 |
4 | ' Initialize an array of doubles
5 | Dim yval As Double() = {2, 6, 4, 5, 3}
6 |
7 | ' Initialize an array of string
8 | Dim xval As String() = {"Peter", "Andrew", "Julie", "Mary", "Dave"}
9 |
10 | ' Bind the double array to the Y axis points of the Default data series
11 | Chart1.Series("Series 1").Points.DataBindXY(xval, yval)
12 | ...
--------------------------------------------------------------------------------
/src/WorkingWithData/DataSourceTypes/CSVDataBindingBinding/CSVDataBinding.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geomatics-io/Samples-Environments-for-Microsoft-Chart-Controls/0c7d2ae701f3ca000ab207ae05ed7209455c7e95/src/WorkingWithData/DataSourceTypes/CSVDataBindingBinding/CSVDataBinding.cs
--------------------------------------------------------------------------------
/src/WorkingWithData/DataSourceTypes/CSVDataBindingBinding/Overview.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | The X and Y values of a data series can be bound to data sources using
7 | the DataBindXY and DataBindY methods.
8 |
9 | In this sample:
10 |
11 |
The CSV data source is queried
12 |
The resulting data is loaded into a data reader
13 |
The data reader is then passed into the DataBind(X)Y method call.