mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 04:20:09 +00:00
优化BarChart在Tooltip的Trigger为Item时的表现
This commit is contained in:
@@ -80,17 +80,17 @@ namespace XCharts.Example
|
||||
|
||||
void OnDraw(VertexHelper vh)
|
||||
{
|
||||
Debug.Log("OnDraw");
|
||||
//Debug.Log("OnDraw");
|
||||
}
|
||||
|
||||
void OnDrawBeforeSerie(VertexHelper vh, Serie serie)
|
||||
{
|
||||
Debug.Log("OnDrawBeforeSerie: " + serie.index);
|
||||
//Debug.Log("OnDrawBeforeSerie: " + serie.index);
|
||||
}
|
||||
|
||||
void OnDrawAfterSerie(VertexHelper vh, Serie serie)
|
||||
{
|
||||
Debug.Log("OnDrawAfterSerie: " + serie.index);
|
||||
//Debug.Log("OnDrawAfterSerie: " + serie.index);
|
||||
if (serie.index != 0) return;
|
||||
var dataPoints = serie.context.dataPoints;
|
||||
if (dataPoints.Count > 0)
|
||||
@@ -107,7 +107,7 @@ namespace XCharts.Example
|
||||
|
||||
void OnDrawTop(VertexHelper vh)
|
||||
{
|
||||
Debug.Log("OnDrawTop");
|
||||
//Debug.Log("OnDrawTop");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user