Random r = new Random();
for(int zx = 0; zx < 8; zx++)
{
SeriesList sList = new SeriesList();
sList.ChartType = ChartType.Column;
sList.AxisFactor.XAxis.Interval = 2;
for(int i = 0; i < 1; i++)
{
Series sr = new Series();
for(int x = 0; x < 5; x++)
{
SeriesItem item = new SeriesItem();
item.Name = x.ToString();
item.YValue = r.Next(23, 99);
sr.items.Add(item);
}
sList.SeriesCollection.Add(sr);
}
this.hHippoChart1.SeriesListDictionary.Add(sList);
}
this.hHippoChart1.SeriesAreaRate = "1:1:1:1:1:1:1:1";
this.hHippoChart1.Direction = GraphAreaLocation.Horizontal;
this.hHippoChart1.LegendBox.Visible = false;
this.hHippoChart1.DrawChart();
Dim r As New. Random()
For zx As Integer = 0 To 7
Dim sList As New. SeriesList()
sList.ChartType = ChartType.Column
sList.AxisFactor.XAxis.Interval = 2
For i As Integer = 0 To 0
Dim sr As New. Series()
For x As Integer = 0 To 4
Dim item As New. SeriesItem()
item.Name = x.ToString()
item.YValue = r.[Next](23, 99)
sr.items.Add(item)
Next
sList.SeriesCollection.Add(sr)
Next
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Next
Me.hHippoChart1.SeriesAreaRate = "1:1:1:1:1:1:1:1"
Me.hHippoChart1.Direction = GraphAreaLocation.Horizontal
Me.hHippoChart1.LegendBox.Visible = False
Me.hHippoChart1.DrawChart()