Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 758185 - Replace HighCharts
: Replace HighCharts
Product: Input
Classification: Server Software
Component: General (show other bugs)
: unspecified
: All All
: -- normal
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on:
  Show dependency treegraph
Reported: 2012-05-24 06:17 PDT by Gervase Markham [:gerv]
Modified: 2013-05-24 05:11 PDT (History)
8 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description Gervase Markham [:gerv] 2012-05-24 06:17:07 PDT
Input has a dependency on the not-open-source HighCharts library. The license is CC-BY-NC (non-commercial). 

Bug 571967 was where we determined that the licence of HighCharts was not suitable.

In bug 615609, a change was made to pull HighCharts in dynamically. That means we are no longer hosting a copy, but our software still depends on it for proper function. Mozilla believes that "free and open source software promotes the development of the Internet as a public resource", and we are committed to shipping free stuff for other people to reuse without restriction. So making it an external dependency is not really a solution. Input is a great piece of software; it should not be saddled with a no-commercial-use restriction.

We should replace HighCharts with something else. (We may find it easiest to reimplement their API on top of another JS charting library.)

I apologise for the delay in filing this bug; the relevant emails were at the bottom of my inbox.

Comment 1 James Socol [:jsocol, :james] 2012-05-24 06:32:04 PDT
There is no open source charting library that uses web features (instead of Flash) and has the feature set we need (particularly the HighStock stock charting). The closest thing I could find was Dygraphs, which isn't quite there.


So, we have choices.
- Build HighCharts from scratch under an open source license.
- Use something like Dygraphs which doesn't get us all the way there, and give up the features we're missing.
- Hope that we can contribute the features we're missing to something like Dygraphs.
- (Or, of course, we could try to buy and open source HighCharts, but people have rather ignored that suggestion in the past.)

We can do that, eventually. But it's going to take a lot of time away from critical path, K9o work, and there is basically no active development on Input right now.
Comment 2 Luis Villa [Outside Counsel; for non-law use] 2012-09-04 17:46:53 PDT
Gerv's statement of Mozilla policy is correct. As far as I know, there is no legal question open here so removing myself from cc; please reinstate me if that changes.
Comment 3 Chris Lonnen :lonnen 2013-02-14 09:59:49 PST
On webtools we use flot ( It is a mature, canvas based graphing lib. I'm not sure that it has the entire feature set that you're after. Rickshaw also looks good, though last time I looked SVG was not performant on mobile.
Comment 4 Bogomil Shopov[:Bogomil] 2013-05-24 03:05:39 PDT
+1 for flotcharts. FHR uses it.
Comment 5 Will Kahn-Greene [:willkg] 2013-05-24 05:11:37 PDT
The new Input doesn't use highcharts. So marking this as FIXED.

Note You need to log in before you can comment on or make changes to this bug.