150K lines for graph scatter graph forever?

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?

+3
source share
1 answer

The easiest way - if you can find a way to reduce the number of points in your data by pre-processing it (i.e. by combining several data points that are next to each other in one data point) - it’s interesting enough that Dundas has articles on pages support:

+4

Source: https://habr.com/ru/post/1794197/


All Articles