SeriesList sList = new SeriesList();
sList.ChartType = ChartType.Spline;
sList.AxisFactor.YAxis.Visible = false;
sList.AxisFactor.XAxis.Interval = 5;
sList.AxisFactor.XAxis.LabelFormat.Alignment = StringAlignment.Near;
sList.GraphArea.Grid.GridDirection = GridDirection.Horizontal;
Random r = new Random();
for(int i = 0; i < 1; i++)
{
Series sr = new Series();
sr.Name = "Serie" + i.ToString();
sr.Line.LineWidth = 2;
sr.Points.Width = 0;
for(int x = 0; x < 15; x++)
{
SeriesItem item = new SeriesItem();
item.Name = "item" + x.ToString();
item.YValue =r.Next(943) * 0.01;
sr.items.Add(item);
}
sList.SeriesCollection.Add(sr);
}
this.hHippoChart1.PaletteType = PaletteType.Sky;
this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.DrawChart();
Dim sList As New. SeriesList()
sList.ChartType = ChartType.Spline
sList.AxisFactor.YAxis.Visible = False
sList.AxisFactor.XAxis.Interval = 5
sList.AxisFactor.XAxis.LabelFormat.Alignment = StringAlignment.Near
sList.GraphArea.Grid.GridDirection = GridDirection.Horizontal
Dim r As New. Random()
For i As Integer = 0 To 0
Dim sr As New. Series()
sr.Name = "Serie" & i.ToString()
sr.Line.LineWidth = 2
sr.Points.Width = 0
For x As Integer = 0 To 14
Dim item As New. SeriesItem()
item.Name = "item" & x.ToString()
item.YValue = r.[Next](943) * 0.01
sr.items.Add(item)
Next
sList.SeriesCollection.Add(sr)
Next
Me.hHippoChart1.PaletteType = PaletteType.Sky
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()