mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
整理接口
This commit is contained in:
@@ -448,5 +448,17 @@ namespace XCharts
|
|||||||
m_Series.AnimationReset();
|
m_Series.AnimationReset();
|
||||||
RefreshChart();
|
RefreshChart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 点击图例按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="legendIndex">图例按钮索引</param>
|
||||||
|
/// <param name="legendName">图例按钮名称</param>
|
||||||
|
/// <param name="show">显示还是隐藏</param>
|
||||||
|
public void ClickLegendButton(int legendIndex, string legendName, bool show)
|
||||||
|
{
|
||||||
|
OnLegendButtonClick(legendIndex, legendName, show);
|
||||||
|
RefreshChart();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,22 @@ namespace XCharts
|
|||||||
/// 视觉映射组件。
|
/// 视觉映射组件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public VisualMap visualMap { get { return m_VisualMap; } }
|
public VisualMap visualMap { get { return m_VisualMap; } }
|
||||||
|
/// <summary>
|
||||||
|
/// X轴(下)
|
||||||
|
/// </summary>
|
||||||
|
public XAxis xAxis0 { get { return m_XAxises[0]; } }
|
||||||
|
/// <summary>
|
||||||
|
/// X轴(上)
|
||||||
|
/// </summary>
|
||||||
|
public XAxis xAxis1 { get { return m_XAxises[1]; } }
|
||||||
|
/// <summary>
|
||||||
|
/// Y轴(左)
|
||||||
|
/// </summary>
|
||||||
|
public YAxis yAxis0 { get { return m_YAxises[0]; } }
|
||||||
|
/// <summary>
|
||||||
|
/// Y轴(右)
|
||||||
|
/// </summary>
|
||||||
|
public YAxis yAxis1 { get { return m_YAxises[1]; } }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -153,6 +169,14 @@ namespace XCharts
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 在下一帧刷新DataZoom
|
||||||
|
/// </summary>
|
||||||
|
public void RefreshDataZoom()
|
||||||
|
{
|
||||||
|
RefreshDataZoomLabel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user