Hello,
The following example WebChart is created from the Opening event of a WebPage.
Var data() As Double
data.Add(10)
data.Add(20)
data.Add(30)
data.Add(40)
Var data2() As Double
data2.Add(15)
data2.Add(25)
data2.Add(35)
data2.Add(45)
Var series1 As New WebChartLinearDataset("Bar Data", &cFF0000, True, data)
series1.ChartType = WebChartLinearDataset.ChartTypes.Bar
Me.AddDataset(series1)
Var series2 As New WebChartLinearDataset("Line Data", &c0000FF, True, data2)
series2.ChartType = WebChartLinearDataset.ChartTypes.Line
Me.AddDataset(series2)
Me.AddLabels("North", "South", "East", "West")
From a different event how do I update read the value of East (index 3) from Series1, perform a calculation on that value then update that value in the Chart.
I’m guessing I might access series1 from the chart as Chart1.RowAt or Chart1.DatasetAt? but I don’t seem to have it sussed yet.
Any pointers, would be appreciated.
Kind regards, Andrew