Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Add an Example for Chart Class #624

@anse8893

Description

@anse8893

Please add an example for Chart Class.
the below your sample code is not working.. it doesn't show any chart. i don't know why..
pls help me on this..

TODO (optional): Describe a specific scenario you would like to see addressed.
Chart chart = new Chart();
double[,] testValues = new double[10, 2];
// fill data series
for (int i = 0; i < 10; i++)
{
testValues[i, 0] = i; // X values
testValues[i, 1] = Math.Sin(i / 18.0 * Math.PI); // Y values
}
// add new data series to the chart
chart.AddDataSeries("Test", Color.DarkGreen, Chart.SeriesType.ConnectedDots, 3);
// set X range to display
chart.RangeX = new Range(0, 9);
// update the chart
chart.UpdateDataSeries("Test", testValues);
Help Topic: http://accord-framework.net/docs/html/T_Accord_Controls_Chart.htm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions