Google Chart Scroller/Zoomer

Description
Create your own Google Chart and this jQuery plugin will transform it into a zoomable scrollable chart!
It’s as easy as this:
$('#chart').gChartScroller();
It creates a smaller chart that is not zoomed-in below. Then, using your mouse, you can zoom in and scroll across the x axis.
You can even pass in a date range for the x axis and it will create the x axis labels for you. That’s something that the Google Chart API doesn’t provide you. Then, you can also pass in a date just like you do in PHP to get the labels formatted just the way you want.
There is also a function that is provided for you so that you can have links that change the currently zoomed-in range:
$('#chart').gChartSet(startX, endX);
You have complete control over the styles and colors. The Google Chart API allows you to customize any colors, fonts, etc. in the graphs and every generated HTML element has a class applied for easy CSS styling (it only generates 9 elements).
Here is a list of the options that you can (optionally) pass in:
- The height of the lower scrolling chart
- Any additional Google Chart variables that you want to be applied to the lower chart and not to the upper chart
- The x axis minimum and maximum range (date or number)
- The default zoomed-in minimum and maximum range (date or number)
- The number of labels you want to show on the lower chart’s x axis
- The format for any dates in the axis labels
- An onChange() callback function that will get called when the user changes the zoomed-in range
- An onDrag() callback function that will be called as the user drags/resizes the zoomed-in range
- Gracefully degrades to just show the chart if JavaScript is not enabled
Note: this plugin only works with Google Chart type “lc”
| Type | JavaScript Script |
|---|---|
| Author | dontangg |
| Category | Javascript / Ratings And Charts |
| Price | $7 |
| Sales | 68 |
| Rating | 4.00 from 8 ratings |
| Published | Nov 21, 2009 |
| Last Update | Nov 21, 2009 |
| Compatible Browsers | IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome |
| Compatible Software | jQuery |
| Source Files Included | JavaScript JS |
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks