最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Highcharts.js, how to zoom in on one chart to resize another as Stackoverflow has done? - Stack Overflow

programmeradmin2浏览0评论

I'd like to replicate how StackOverflow has built their reputation column charts.

Specifically, I'm interested in the behavior of zooming in on the bottom chart to resize the top chart. I'm wondering if there is an option in Highcharts.js for this or whether this was a homemade extension made by SO.

I'd like to replicate how StackOverflow has built their reputation column charts.

Specifically, I'm interested in the behavior of zooming in on the bottom chart to resize the top chart. I'm wondering if there is an option in Highcharts.js for this or whether this was a homemade extension made by SO.

Share Improve this question edited May 23, 2017 at 11:51 CommunityBot 11 silver badge asked Jun 27, 2012 at 14:44 tim petersontim peterson 24.4k63 gold badges186 silver badges303 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 5

It looks a lot like this demo, except that this is a line chart and not a column chart: http://www.highcharts./demo/dynamic-master-detail

Also available for testing on jsfiddle: http://jsfiddle/gh/get/jquery/1.7.2/highslide-software/highcharts./tree/master/samples/highcharts/demo/dynamic-master-detail/

Here's a jsfiddle of Stackoverflow's actual code which is minimized but you get the idea: http://jsfiddle/abex2/1/

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论