重构sampleDist到Serie的lineSampleDist

This commit is contained in:
monitor1394
2019-09-29 06:58:26 +08:00
parent e901d9f456
commit c54d62c8f8
6 changed files with 15 additions and 15 deletions

View File

@@ -80,13 +80,6 @@ namespace XCharts
/// <value></value>
public float lineSmoothStyle { get { return m_LineSmoothStyle; } set { m_LineSmoothStyle = value; } }
/// <summary>
/// the min pixel dist of sample.
/// 采样的最小像素距离默认为0时不采样。当两个数据点间的像素距离小于改值时开启采样保证两点间的像素距离不小于改值。
/// </summary>
/// <value></value>
public float sampleDist { get { return m_SampleDist; } set { m_SampleDist = value < 0 ? 0 : value; } }
/// <summary>
/// Set the size of chart.
/// 设置图表的大小。