dheera / fooplot

LGPL JavaScript embeddable graphing calculator with Google maps style panning and other features.
GNU Lesser General Public License v3.0
61 stars 24 forks source link

How to change the line width in fooplot? #1

Open q2apro opened 9 years ago

q2apro commented 9 years ago

I tried making the graph lines bolder, but it does not work:

myPlot.addPlot('sin(x)',FOOPLOT_TYPE_FUNCTION,{'color':'#00F', 'width':'5' });

How to do it?

dheera commented 9 years ago

this feature isn't implemented yet. i'm a bit busy recently, so it may take some time. would this project be something you're interested in contributing to?


Dheera Venkatraman http://dheera.net/

2015-04-03 11:44 GMT+00:00 q2apro.com notifications@github.com:

I tried making the graph lines bolder, but it does not work:

myPlot.addPlot('sin(x)',FOOPLOT_TYPE_FUNCTION,{'color':'#00F', 'width':'30' });

How to do it?

— Reply to this email directly or view it on GitHub https://github.com/dheera/fooplot/issues/1.

q2apro commented 9 years ago

I would really like to contribute, however, I don't understand the code yet. I mostly develop using jquery and easeljs. JS with SVG is totally new to me.

By the way, I swapped from my own tool http://stackoverflow.com/q/27506610/1066234 to fooplot. It is great that it is only around 55 KB. Currently we discuss features in our maths forum at https://www.mathelounge.de/223069/

As you see, I try to use your code and make it automatic for parsing formulas from text and embed the graphs :-)