Hi
can we change current date time indicator to be like the one in image?
Also in date can we remove fullstop after 6
Code: Select all
(function(H) {
H.wrap(H.PlotLineOrBand.prototype, 'render', function(proceed) {
proceed.apply(this, Array.prototype.slice.call(arguments, 1));
var chart = this.axis.chart,
options = this.options,
marker = options.marker;
var color = options.color,
radius = 1,
xAxis = chart.xAxis[0],
x = chart.xAxis[0].toPixels(options.value),
y = chart.plotTop;
chart.renderer.path(['M', x, y, 'L', x, y - 8]).attr({
'stroke-width': 1,
stroke: color,
}).add();
chart.renderer.symbol('triangle-down', x - 5, y - 8, 10, 10).attr({
fill: color
}).add();
});
}(Highcharts));