SeriesList sList = new SeriesList();
sList.ChartType = ChartType.BoxPlot;
sList.Transparency = 55;
Random r = new Random();
for(int i = 0; i < 1; i++)
{
Series sr = new Series();
for(int x = 0; x < 15; x++)
{
SeriesItem item = new SeriesItem();
item.GroupName = "G1";
item.Name = "item" + x.ToString();
item.YValue = r.Next(5, 700);
sr.items.Add(item);
}
for(int x = 0; x < 12; x++)
{
SeriesItem item = new SeriesItem();
item.GroupName = "G2";
item.Name = "item" + x.ToString();
item.YValue = r.Next(5, 700);
sr.items.Add(item);
}
for(int x = 0; x < 14; x++)
{
SeriesItem item = new SeriesItem();
item.GroupName = "G3";
item.Name = "item" + x.ToString();
item.YValue = r.Next(5, 700);
sr.items.Add(item);
}
for(int x = 0; x < 9; x++)
{
SeriesItem item = new SeriesItem();
item.GroupName = "G4";
item.Name = "item" + x.ToString();
item.YValue = r.Next(5, 700);
sr.items.Add(item);
}
sList.SeriesCollection.Add(sr);
}
this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.DrawChart();
Dim sList As New. SeriesList()
sList.ChartType = ChartType.BoxPlot
sList.Transparency = 55
Dim r As New. Random()
For i As Integer = 0 To 0
Dim sr As New. Series()
For x As Integer = 0 To 14
Dim item As New. SeriesItem()
item.GroupName = "G1"
item.Name = "item" & x.ToString()
item.YValue = r.[Next](5, 700)
sr.items.Add(item)
Next
For x As Integer = 0 To 11
Dim item As New. SeriesItem()
item.GroupName = "G2"
item.Name = "item" & x.ToString()
item.YValue = r.[Next](5, 700)
sr.items.Add(item)
Next
For x As Integer = 0 To 13
Dim item As New. SeriesItem()
item.GroupName = "G3"
item.Name = "item" & x.ToString()
item.YValue = r.[Next](5, 700)
sr.items.Add(item)
Next
For x As Integer = 0 To 8
Dim item As New. SeriesItem()
item.GroupName = "G4"
item.Name = "item" & x.ToString()
item.YValue = r.[Next](5, 700)
sr.items.Add(item)
Next
sList.SeriesCollection.Add(sr)
Next
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()