【发布时间】:2021-05-11 10:17:58
【问题描述】:
我想用两种颜色绘制迷你图线,这取决于该值是否低于参考值,如果该值高于相同的参考值,则使用另一种颜色。
const conf: EvolutionChartConfiguration<LaborGridAnalysis> = {
dateField: 'Date',
hideGrid: true,
hideTooltip: true,
hideLabel: true,
seriesGroups: [
{
series: [
{
field: field,
type: type,
color: colorSerie,
label: label,
shape: 'line',
shownOnScrollbar: false,
hideLineBullets: true
}]
}
]
};
return conf;
谢谢
【问题讨论】: