我有 150K X 和 Y 列的记录,我正在尝试为 FinanicalFormula 绘制图表。永远创建图表需要时间。它也没有抛出错误。
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
控制来自调试中的所有这些行。在该页面加载图表上的数据之后。我该如何解决这个问题?