mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-29 20:58:47 +00:00
[fix][comment] fix null error for comment
This commit is contained in:
@@ -59,7 +59,7 @@ namespace XCharts.Runtime
|
|||||||
{
|
{
|
||||||
var item = component.items[i];
|
var item = component.items[i];
|
||||||
var markStyle = component.GetMarkStyle(i);
|
var markStyle = component.GetMarkStyle(i);
|
||||||
if (!markStyle.show) continue;
|
if (markStyle == null || !markStyle.show) continue;
|
||||||
var color = ChartHelper.IsClearColor(markStyle.lineStyle.color) ?
|
var color = ChartHelper.IsClearColor(markStyle.lineStyle.color) ?
|
||||||
chart.theme.axis.splitLineColor :
|
chart.theme.axis.splitLineColor :
|
||||||
markStyle.lineStyle.color;
|
markStyle.lineStyle.color;
|
||||||
|
|||||||
Reference in New Issue
Block a user