Highstock:在倒置的系列标志上
Highstock: On Series Flags that are inverted
我想在系列中放置标志(as in the HighCharts demo page). Except I want the flags to be upside down(i.e. it should be placed below the series) like this (excuse the MS Paint rendition)。
这可能吗?
设置flags.y
. See demo: http://jsfiddle.net/nx4at8y2/和代码:
series: [{
name: 'USD to EUR',
id: 'dataseries',
data: usdeur
}, {
y: 30, // default to -30
type: 'flags',
data: [{
x: Date.UTC(2011, 1, 14),
title: 'A',
text: 'Shape: "squarepin"'
}],
onSeries: 'dataseries',
}]
我想在系列中放置标志(as in the HighCharts demo page). Except I want the flags to be upside down(i.e. it should be placed below the series) like this (excuse the MS Paint rendition)。 这可能吗?
设置flags.y
. See demo: http://jsfiddle.net/nx4at8y2/和代码:
series: [{
name: 'USD to EUR',
id: 'dataseries',
data: usdeur
}, {
y: 30, // default to -30
type: 'flags',
data: [{
x: Date.UTC(2011, 1, 14),
title: 'A',
text: 'Shape: "squarepin"'
}],
onSeries: 'dataseries',
}]