I have a bar chart and two values x(it goes like 0 5 10 etc.) and y(it goes like 0 1000 2000) Is it possible to highlight the bars that are appearing after 25 on x axis ?
I found chart.focus(targetIds) but I couldn't figure out how to use it.
First things first: there is no function for this.
Chart.focus(targetId)
is used to highlight one complete set of data and only when the chart has been loaded. It will unhighlight after a mouseover.
Instead you can use a workaround by using groups. The highlighted and the unhighlighted have to be in different groups with different colors.
The drawbacks: you have twice as columns as before and when you use the tooltip and the legend, then you have to format it or it will be ugly.
But if you're ok with this, here is an example: jsFiddle