本文介绍了Highcharts:每个系列可以有独立的plotOptions吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的图表上有两个分散系列。一个线宽为1,另一个没有lineWidth。据我所知,plotOptions适用于指定类型的所有图表,因此所有散点图都有一个线宽或没有。是否有可能将plotOptions应用于特定的系列?
I want to have two scatter series on my chart. One with a linewidth of 1 and the other with no lineWidth. As I understand, the plotOptions applies to all charts of the specified type, so either all the scatter plots have a linewidth or nothing. Is it possible to apply a plotOptions to specific series?
推荐答案
只要通过 lineWidth
至系列
作为参数:
Just pass lineWidth
to series
as a parameter like:
var series = {
data: [...],
lineWidth: 1
};
这篇关于Highcharts:每个系列可以有独立的plotOptions吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!