Chinese German Japanese Korean French Italian Portuguese Spanish
A Site for .NET Smart Device Software Developers
 Feel free to browse the available .NET Smart Device controls & components for the .NET Compact Framework
 All controls have design time support for Visual Studio .NET, 2005 & 2008.
 All controls are written in fully managed code, are royalty free and support is all part of the purchase!
 Why create your own controls when it has been done for you here at a fraction of the cost?
General Charting
Applies to Bar, Line & Scatter Chart

Example Code C#:

private void LoadChart
{
PPCC.Chart.Series s1 = new PPCC.Chart.Series("Series 1", Color.Black, PPCC.Chart.SeriesType.Line);
PPCC.Chart.Series s2 = new PPCC.Chart.Series("Series 2", Color.Blue, PPCC.Chart.SeriesType.Line);

chart1.ClearAll();

s1.AddXY(1);
s1.AddXY(2);
s1.AddXY(3);
s2.AddXY(4);
s2.AddXY(5);
s2.AddXY(6);

chart1.AddSeries(s1);
chart1.AddSeries(s2);

chart1.Refresh();
}


Example Code VB:

Private Sub LoadChart()

Dim s1 As New PPCC.Chart.Series("Series 1", Color.Black, PPCC.Chart.SeriesType.Line)
Dim s2 As New PPCC.Chart.Series("Series 2", Color.Blue, PPCC.Chart.SeriesType.Line)

Chart1.ClearAll()

s1.AddXY(1)
s1.AddXY(2)
s1.AddXY(3)
s2.AddXY(4)
s2.AddXY(5)
s2.AddXY(6)

Chart1.AddSeries(s1)
Chart1.AddSeries(s2)

Chart1.Refresh()

End Sub


TOP
Contact Us
©2004-2007 PocketPC Controls.com