我应该在Windows窗体图表控件中选择Line还是FastLine?

Jea*_*nal 7 .net charts winforms

我目前正在使用Microsoft的图表控件 - 它的MSDN文档就在这里

我正在检查SeriesChartType 文档,除了一个问题外,这个文档几乎是不需要的:

  • LineFastLine类型有什么区别?
  • 我什么时候应该偏爱另一种?

预先感谢您的任何帮助.

Tim*_*ker 14

看起来它FastLine是针对您正在趋势大量数据的巨大数据集进行优化的.您丢失了一些功能,例如显示标记,无论如何您都不需要大型数据集.

如果您有几十个积分,请使用Line,如果您有几百个积分,请使用FastLine.

FastLine文档:http: //msdn.microsoft.com/en-us/library/dd489249.aspx

行文档:http: //msdn.microsoft.com/en-us/library/dd489252.aspx


Pau*_*sik 8

来自MSDN:

The FastLine chart type is a variation of the Line chart that significantly 
reduces the   drawing time of a series that contains a very large number of 
data points. Use this chart in situations where very large data sets are used 
and rendering speed is critical.

Some charting features are omitted from the FastLine chart to improve performance. 
The features omitted include control of point level visual attributes, markers, 
data point labels, and shadows.
Run Code Online (Sandbox Code Playgroud)

例如,如果您要显示数十或数十万个数据点.

链接:http://msdn.microsoft.com/en-us/library/dd489249.aspx