mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-29 12:48:47 +00:00
[enhancement][line] line support end label
This commit is contained in:
@@ -266,6 +266,10 @@ namespace XCharts.Runtime
|
||||
m_SerieGrid = chart.GetChartComponent<GridCoord>(axis.gridIndex);
|
||||
if (m_SerieGrid == null)
|
||||
return;
|
||||
if (m_EndLabel != null && !m_SerieGrid.context.endLabelList.Contains(m_EndLabel))
|
||||
{
|
||||
m_SerieGrid.context.endLabelList.Add(m_EndLabel);
|
||||
}
|
||||
|
||||
var visualMap = chart.GetVisualMapOfSerie(serie);
|
||||
var dataZoom = chart.GetDataZoomOfAxis(axis);
|
||||
|
||||
Reference in New Issue
Block a user