gwt-highcharts

Highchart with scaled images in column bars?

蹲街弑〆低调 提交于 2019-12-30 12:13:12
问题 How can i add images to the bar columns that scale correctly to the bar heights. see jsfiddle example below, im trying to do a chart that compares heights using a Skyscraper image as the background for the bar columns, however the background image seems to loop/tile somewhat randomly, how can i fix this. thanks color: { pattern: 'http://www.aperfectworld.org/clipart/buildings/buildings08g.gif', width: '100%', height: '100%' } http://jsfiddle.net/2BqSY/4/ 回答1: I think it may be not possible

Highchart with scaled images in column bars?

孤人 提交于 2019-12-01 11:40:22
How can i add images to the bar columns that scale correctly to the bar heights. see jsfiddle example below, im trying to do a chart that compares heights using a Skyscraper image as the background for the bar columns, however the background image seems to loop/tile somewhat randomly, how can i fix this. thanks color: { pattern: 'http://www.aperfectworld.org/clipart/buildings/buildings08g.gif', width: '100%', height: '100%' } http://jsfiddle.net/2BqSY/4/ I think it may be not possible using patterns, but you can add some images using renderer: http://jsfiddle.net/YZkPX/ chart: { renderTo:

Add tooltip to legend in highcharts when hovering

五迷三道 提交于 2019-11-26 17:07:14
问题 Id like to let the user know that he can remove items from the legend by simply clicking on them. To some, this may be intuitive but others may not know that they can do that. I would like to let the users know when they over the legend item that then can click to remove it. I am using the GWT-wrapper class for highcharts. Thank you. 回答1: Highcharts doesn't have built-in tooltip for item legend, but still you can create your own tooltip for that. It's simple to add custom events to legendItem