mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-30 21:38:49 +00:00
[feature][radar] support smooth line
This commit is contained in:
@@ -11,9 +11,21 @@ namespace XCharts.Runtime
|
||||
[SerieDataExtraField()]
|
||||
public class Radar : Serie, INeedSerieContainer
|
||||
{
|
||||
[SerializeField][Since("3.2.0")] private bool m_Smooth = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether use smooth curve.
|
||||
/// |是否平滑曲线。平滑曲线时不支持区域填充颜色。
|
||||
/// </summary>
|
||||
public bool smooth
|
||||
{
|
||||
get { return m_Smooth; }
|
||||
set { if (PropertyUtil.SetStruct(ref m_Smooth, value)) { SetVerticesDirty(); } }
|
||||
}
|
||||
|
||||
public int containerIndex { get; internal set; }
|
||||
public int containterInstanceId { get; internal set; }
|
||||
public override bool useDataNameForColor { get { return true; } }
|
||||
public override bool useDataNameForColor { get { return radarType == RadarType.Multiple; } }
|
||||
public override bool multiDimensionLabel { get { return radarType == RadarType.Multiple; } }
|
||||
|
||||
public static Serie AddDefaultSerie(BaseChart chart, string serieName)
|
||||
|
||||
Reference in New Issue
Block a user