SeriesList sList = new SeriesList();
sList.ChartType = ChartType.Spline;
sList.AxisFactor.YAxis.Decimalpoint = 2;
//sList.AxisFactor.YAxis.FigureFormat = FigureFormat.Percent;
sList.AxisFactor.XAxis.DataType = AxisDataType.Number;
Random r = new Random();
for(int i = 0; i < 1; i++)
{
Series sr = new Series();
sr.Line.LineWidth = 2;
sr.Points.Width = 0;
for(int t = 0; t < 10; t++)
{
SeriesItem item = new SeriesItem();
item.Name = t.ToString();
item.XValue = t;
item.YValue = Math.Pow(Math.E, (-1) * (t / 1));
sr.items.Add(item);
}
sList.SeriesCollection.Add(sr);
}
this.hHippoChart1.Titles.Label.Text = "망각곡선 그래프 - 헤르만 에빙하우스";
this.hHippoChart1.LegendBox.Visible = false;
this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.DrawChart();
im sList As New. SeriesList()
sList.ChartType = ChartType.Spline
sList.AxisFactor.YAxis.Decimalpoint = 2
`sList.AxisFactor.YAxis.FigureFormat = FigureFormat.Percent;
sList.AxisFactor.XAxis.DataType = AxisDataType.Number
Dim r As New. Random()
For i As Integer = 0 To 0
Dim sr As New. Series()
sr.Line.LineWidth = 2
sr.Points.Width = 0
For t As Integer = 0 To 9
Dim item As New. SeriesItem()
item.Name = t.ToString()
item.XValue = t
item.YValue = Math.Pow(Math.E, (-1) * (t \ 1))
sr.items.Add(item)
Next
sList.SeriesCollection.Add(sr)
Next
Me.hHippoChart1.Titles.Label.Text = "망각곡선 그래프 - 헤르만 에빙하우스"
Me.hHippoChart1.LegendBox.Visible = False
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()