C#
AxisArea tk = new AxisArea("safe", 0, 300); AxisArea tk2 = new AxisArea("low", 300, 500); AxisArea tk3 = new AxisArea("normal", 500, 700); AxisArea tk4 = new AxisArea("dangerous", 700, 900); for (int x = 0; x < 6; x++) sr.items.Add(item); this.hHippoChart1.Direction = GraphAreaLocation.Vertical; this.hHippoChart1.SeriesListDictionary.Add(sList); |
VB
Dim sList As New SeriesList() Dim tk As New AxisArea("safe", 0, 300) Dim tk2 As New AxisArea("low", 300, 500) Dim tk3 As New AxisArea("normal", 500, 700) Dim tk4 As New AxisArea("dangerous", 700, 900) Dim r As New Random() Me.hHippoChart1.Direction = GraphAreaLocation.Vertical Me.hHippoChart1.SeriesListDictionary.Add(sList) |