mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 02:10:16 +00:00
[feature][serie] support the colorBy of serie
This commit is contained in:
@@ -24,7 +24,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
var serie = series[n];
|
||||
if (serie.placeHolder) continue;
|
||||
if (serie.useDataNameForColor)
|
||||
if (serie.colorByData)
|
||||
{
|
||||
for (int i = 0; i < serie.data.Count; i++)
|
||||
{
|
||||
@@ -53,7 +53,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
var serie = chart.series[n];
|
||||
if (serie.placeHolder) continue;
|
||||
if (serie.useDataNameForColor)
|
||||
if (serie.colorByData)
|
||||
{
|
||||
for (int i = 0; i < serie.data.Count; i++)
|
||||
{
|
||||
@@ -84,7 +84,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
var serie = series[n];
|
||||
if (serie.placeHolder) continue;
|
||||
if (serie.useDataNameForColor)
|
||||
if (serie.colorByData)
|
||||
{
|
||||
bool found = false;
|
||||
for (int i = 0; i < serie.data.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user