Hello, World!
What's the smallest HTML/Javascript snippet required to make a Dygraph? First, you need a div element to host your graph: <div id="hello-world"></div>And then you create the graph. A...
View ArticleDygraphs has an Annotated Range Selector!
Dygraphs now has an annotated range selector, thanks to an external contribution by Paul Felix. Inspired by Google's Annotated Time Line and other time series chart tools, you can now have easy zooming...
View ArticleDygraphs and IE9
(This is a retread of a mailing list post from earlier this year Dan wrote, but it's so interesting I wanted to mildly edit it and repost it here. In fact, this very post was the motivation for finally...
View ArticleDygraphs Coordinate Systems, 1/3
This is the first of three posts about the coordinate systems used throughout Dygraphs.Part 1: Introduction and the Dygraph Data Coordinate SystemPart 2: DOM Coordinate SystemPart 3: Percentage...
View ArticleDygraphs Coordinate Systems, 2/3
Update: 8:30AM Oct 4: to clarify several items.This is the second of three posts about the coordinate systems used throughout Dygraphs.Part 1: Introduction and the Dygraph Data Coordinate SystemPart 2:...
View ArticleDygraphs Coordinate Systems, 3/3
This is the last of three posts about the coordinate systems used throughout Dygraphs.Part 1: Introduction and the Dygraph Data Coordinate SystemPart 2: DOM Coordinate SystemPart 3: Percentage...
View Articledygraphs 2011 year in review
It's been a big year for dygraphs!Looking back at the last 365 days in the commit log, there were 356 commits. A big "thank you" to everyone who contributed:danvk (207 commits)kberg (107 commits)nealie...
View ArticleNew Developer Feature: easier localized testing
If you're developing for Dygraphs, then you should know that we like tests. We've currently got 93 automated tests in the github repository (found at auto_tests/tests) and built an automated test suite...
View ArticleNew Dygraphs Toy: the Palette
Happy New Year! I've been working on this for the last few days and am super excited it's finally ready to show. If you've wanted to learn how Dygraphs options work, then this will probably excite you...
View ArticleIntroducing the Dygraphs Gallery
I'd like to introduce you to the new Dygraphs Gallery, which can be found at http://dygraphs.com/gallery. We've taken some of the existing tests, cleaned them up a bit, and put them into a single...
View ArticlePreventing Dygraphs Memory Leaks
As a matter of cosmic history, it has always been easier to destroy than to create." - SpockSpock is the kind of guy who preferred C++ with its destructors (let alone multiple inheritance), and that...
View ArticleCustom lines, a new feature
A guest post by Russell Valentine.A new series option strokePattern has been added to Dygraphs. This option allows you to define the pattern Dygraphs draws for a particular series. No longer are we...
View ArticleNew feature: custom points
I'm very excited about many of the new features coming to Dygraphs. Here's one that's available today: custom points via drawPointCallback and drawHighlightPointCallback.Dygraphs already provides a two...
View ArticleJavaScript and Dates, What a Mess!
We recently had a dygraphs regression where a date specified as "2012-03-13" would be displayed as "2012-03-12 20:00" when you hovered over it (or something else depending on your time zone).The...
View ArticleSwipe and pinch now work with Dygraphs!
Check it! Swipe and pinch now work with Dygraphs!Dan, inspired by his new iPad 3, did some weekend hacking and made pinch and zoom work in Dygraphs. This also worked on my Samsung Galaxy Nexus,...
View ArticleTesting from the Command Line with PhantomJS
I learned about the PhantomJS project recently and thought that it would be a good fit for dygraphs.Our current testing setup involves several steps:Start a jstd server from the command line.Visit the...
View ArticleHow to download and parse data for Dygraphs
One of the best things about Dygraphs is its simplicity under one of the most common circumstances - reading and rendering a CSV file from the web. And most people who use Dygraphs don't really care...
View ArticleCanvas Adoption in Major Browsers
.dygraph-legend { left: 65px !important; border: 1px solid gray; width: 100px !important; padding: 5px; -moz-box-shadow: 2px 2px 2px #ccc; -webkit-box-shadow: 2px 2px 2px #ccc; box-shadow: 2px 2px 2px...
View ArticleIntroducing Custom Plotters
Once you get your chart displaying with dygraphs, you'll want to customize its appearance.dygraphs includes a plethora of options for doing simple customization, e.g. colors, strokeWidth, drawPoints,...
View ArticleHTML5 Charting Tool Performance Comparison
Akram El Assas has written up a performance comparison of dygraphs and a few other HTML5 charting libraries over at CodeProject.dygraphs has always been written with large data sets in mind, and so it...
View Article