praveenbankbazaar / httparchive

Automatically exported from code.google.com/p/httparchive
0 stars 0 forks source link

Move to the new Google chart API? #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Charts are currently all rendered as bitmaps on a Google server. Google has 
announced that the service will be phased out in 2014 and should be replaced by 
the new SVG-based charts so we've plenty of time.

I've started work on this on my fork and it's remarkably straightforward

https://bitbucket.org/charlie_x/python-httparchive/changeset/126e2e1d71a4ce42e78
1c2e19ef910365c4fa527 and later

There are DataTable bindings for PHP so the changes to the existing codebase 
should be similar. Personally I prefer setting colours and styles via 
Javascript so this suits me.

Not sure how to handle dashed lines. These are available in the new API but are 
supposed to indicate certainty.

Original issue reported on code.google.com by charlie....@clark-consulting.eu on 22 Nov 2012 at 7:28

GoogleCodeExporter commented 9 years ago
Can you submit a patch? Or better yet, a pull request on the github repository? 
https://github.com/HTTPArchive/httparchive

Original comment by stevesou...@gmail.com on 10 May 2014 at 4:08

GoogleCodeExporter commented 9 years ago
Mark Zeman is working on this. Closing while we move to github.

Original comment by stevesou...@gmail.com on 14 May 2014 at 1:23

GoogleCodeExporter commented 9 years ago
Just for info - I can't really provide a patch because my PHP is too feeble but 
you might find the Javascript for creating specific charts useful. It pretty 
much only needs to be fed JSON
https://bitbucket.org/charlie_x/python-httparchive/src/84df44ad7a721aa1409507db5
3c2cbf81cc9e778/httparchive/httparchive/static/charts.js?at=default

Original comment by charlie....@clark-consulting.eu on 14 May 2014 at 8:28