javascript - Highcharts, Change the Maximum Blocks Border Color -
i'm trying solve way able visually pickout blocks highest value column stack. thinking 1 way that, while keeping background color of block, to
add border color block(s) maximum value, red example.
this http://jsfiddle.net/luis9xx/ehbtq/. it's pretty same 1 in highcharts demo gallary
i found example http://jsfiddle.net/z5vpw/ changeing color specific of column color. way dataset done different, not sure if need use similar scheme set outline border color.
also, looked through highcharts api , can't seem find clear path i'm trying do.
so far, there's 2 parts
- part 1 : identify maximum block(s) in column stack.
- part 2 : change border maximum block in stack red
- i found these attributes, not sure put them
borderwidth:5, bordercolor:'red'
part 1: cna out of highcharts, right? create simple for() , check column highest one
part 2: put point object, example, when know points highest set data in format:
series: [{ data: [ [1], [2], { y: 3, borderwidth: 5, bordercolor: 'red' }] }, { data: [ { y: 3, borderwidth: 5, bordercolor: 'red' }, [1], [2]] }, { data: [ [1], { y: 3, borderwidth: 5, bordercolor: 'red' }, [2]] }]
Comments
Post a Comment