[英]Looking for customized Scatter plot Graph in High chart
In he picture we have values on X-Axis ass F1, F2, F3, and so on.在他的图片中,我们有 X 轴屁股 F1、F2、F3 等的值。 for example red dots denote value for F1.
例如红点表示 F1 的值。 For each X axis category the color for dots will be different.
对于每个 X 轴类别,点的颜色会有所不同。
We tried Highcharts Scatter graph but have no luck.我们尝试了 Highcharts 散点图,但没有运气。
how can this be achieved.如何做到这一点。
You can use multiple scatter series with defined x and y values.您可以使用具有定义的 x 和 y 值的多个散点序列。 Example:
例子:
Highcharts.chart('container', {
chart: {
type: 'scatter'
},
series: [{
data: [
[0.9, 40],
[1, 15],
[1.05, 25],
[1.1, 10],
[2.9, 35],
[3, 35],
[3.1, 35]
]
}, {
data: [
[1.9, 25],
[1.95, 10],
[2, 35],
[2.1, 35]
]
}],
...
});
Live demo: http://jsfiddle.net/BlackLabel/4eszoy30/现场演示: http : //jsfiddle.net/BlackLabel/4eszoy30/
API Reference: https://api.highcharts.com/highcharts/series.scatter.data API参考: https : //api.highcharts.com/highcharts/series.scatter.data
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.