mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
3.0 - liquid chart and ring chart
This commit is contained in:
@@ -13,20 +13,18 @@ namespace XCharts
|
||||
|
||||
public override void Update()
|
||||
{
|
||||
base.Update();
|
||||
if (m_UpdateLabelText)
|
||||
{
|
||||
m_UpdateLabelText = false;
|
||||
foreach (var serie in chart.series)
|
||||
{
|
||||
if (serie is Liquid)
|
||||
{
|
||||
var colorIndex = chart.m_LegendRealShowName.IndexOf(serie.serieName);
|
||||
SerieLabelHelper.SetLiquidLabelText(serie, chart.theme, colorIndex);
|
||||
}
|
||||
}
|
||||
RefreshLabelInternal();
|
||||
}
|
||||
}
|
||||
|
||||
public override void RefreshLabelNextFrame()
|
||||
{
|
||||
}
|
||||
|
||||
public override void DrawSerie(VertexHelper vh)
|
||||
{
|
||||
UpdateRuntimeData(serie);
|
||||
|
||||
Reference in New Issue
Block a user