zaenol / milkchart

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

patches for FF3 and JSON based data #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open any example in Mozilla Firefox version 3.0 - 3.5

What is the expected output? What do you see instead?
The expected output: the chart is displayed correctly
The output received is the chart not display and the error:
this.ctx.fillText is not a function

What version of the product are you using? On what operating system?
The MilkChart version is 1.1 downloaded from the link provided by MooForge
http://mootools.net/forge/download/milkchart/1.1
I saw this in Ubuntu, Windows XP, and is extensible to any operating system
that uses this version of Mozilla Firefox.

Please provide any additional information below.
this.ctx.fillText doesn’t work with some versions of FF3,
this is the comment that I use to patch my version of MilkChart for
correctly display in FF3
http://net.tutsplus.com/tutorials/javascript-ajax/fun-with-canvas-create-a-jquer
y-graph-plugin/comment-page-1/#comment-69759
I has a patch for generate the Charts based on JSON instead of an HTML
table, this is a good input data method that I have been advised in many
many plugins, and it would be great to see it in the nexts release of
MilkChart.
The source code for the patches is atached, below with the modifications
for the ctx.fillText and the JSON one, with also a test page.
Congratulations for this great job

Original issue reported on code.google.com by aekr...@gmail.com on 5 Apr 2010 at 1:00

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch and the link.  I didn't know about the FF thing, i figured 
FF was solid :)  I have moved both of these into github:

https://github.com/theiviaxx/MilkChart/issues/7
https://github.com/theiviaxx/MilkChart/issues/8

Shouldn't take long to fix

Original comment by theivi...@gmail.com on 21 Jun 2011 at 3:31