I have 150K entries for columns X and Y, and I'm trying to draw a chart for FinanicalFormula. It will take time to create a schedule forever. This is also not a mistake.
Chart1.DataSource = dtChart
' Data bind to the selected data source
Chart1.DataBind()
Chart1.ChartAreas(0).RecalculateAxesScale()
Chart1.DataManipulator.FinancialFormula(FinancialFormula.Forecasting,
"Linear,,false,false",
Chart1.Series("Series1"),
Chart1.Series("Linear"))
Chart1.DataManipulator.FinancialFormula(FinancialFormula.Forecasting,
"Exponential,,false,false",
Chart1.Series("Series2"),
Chart1.Series("Exponential"))
Chart1.DataManipulator.FinancialFormula(FinancialFormula.Forecasting,
"IsLogarithmic,,false,false",
Chart1.Series("Series3"),
Chart1.Series("Logarithmic"))
Chart1.DataManipulator.FinancialFormula(FinancialFormula.Forecasting,
"Power,,false,false",
Chart1.Series("Series4"),
Chart1.Series("Power"))
Chart1.ChartAreas(0).AxisX.Minimum = 0
'Chart1.ChartAreas(0).AxisX.IntervalOffset = 0.1
Chart1.ChartAreas(0).AxisY.Minimum = 0
'Chart1.ChartAreas(0).AxisY.IntervalOffset = 0.5
control exits this line in debugging. after this loading page to load the data on the chart. How can i solve this?
source
share