- JSXGraph API Reference
- Download the JSXGraph Reference card (PDF) for a quick overview.
- Download the JessieScript reference card (english, PDF) for a quick overview.
- Download the JessieScript reference card (german, PDF) for a quick overview.
- First steps with many examples.
- All examples.
Summary
JSXGraph is a library for Interactive Geometry, function plotting and charts. A user interface to create geometric constructions is under development. At the moment, to display a construction the user can choose between this possibilities:
- construct directly with JavaScript. In our Wiki we describe how to do it.
- provide a GEONExT file (or string). How to
- provide an Intergeo file. How to

JavaScript
All objects of JSXGraph use the namespace JXG. Beside JXG there are no global variables.
24 Comments
i had try some example ,but have some prolblem on IE6 and IE7.
Which examples did not work on IE 6/7?
this,http://jsxgraph.uni-bayreuth.de/wiki/index.php/Dynamic_bar_chart
Thank you very much! The example contained the usual JavaScript bug which kills the IE:
There was an array of the form [f1,f2,f3,];
The IE has problems with the last comma.
You are very efficient! sorry,my english is very poor.
i want to ask : can i set the marked of X-axis and Y-axis,just like with date?
You probably can find information about setting axis ticks at http://jsxgraph.uni-bayreuth.de/wiki/index.php/Ticks.
Do you mind if we continue the discussion at the jsxgraph group at google groups: http://groups.google.com/group/jsxgraph?
Best wishes,
Alfred
i want to join the group,but i can not open the website.may by our government allowed…..
recently, i’am doing a project that need to use jsxgraph.so,do you mind tell me the number of your MSN.Many words, I do not know how to say,just Thank You!
hi, you can access the google group by using:
https://groups.google.com/group/jsxgraph
(https, instead of http)
btw, I am from China and I think Mr./Ms. Zhangyi too?
Thank You! i’am in.i come from china too!
JSXgraph is an very good utility ! Congratulations !
I’ need, with a button, write in local file *.txt the x, y coordinates of ponints. If possible thes ? Thank you.
Probably not. Allowing JavaScript to write local files would be a huge security risc. But you have the options,
1) to open a new window, write the coordinates into that window (using JavaScript) and ask the user to save the window.
2) to send the coordinates with AJAX back to web server and the web server sends back a file (or a download link).
You can something similar to 1) in:
http://jsxgraph.uni-bayreuth.de/~alfred/jsxgraph/trunk/examples/viewer.html
First click on “Read Geonext file” an then on “Show XML”.
Hope, that helps,
Alfred
Hi, I’m trying to rotate text, but it seems to go wrong when keep aspect is disabled(and I need keep aspect disabled). Is there anything I can do?
Yes, one can do something. You can find a detailed explanation here: http://jsxgraph.uni-bayreuth.de/wiki/index.php/Texts_and_Transformations_II
Thank you for that. I have one more question:
When I cut the axes(with straightFirst/straightLast = false) the grid will still keep going beyond the area plotted by those axes. Is there a way to stop this?
This is a missing feature. Thanks for pointing it out.
And another issue came up: the matrix transformation doesn’t seem to work for IE9 in IE7 or IE8 mode. Do I need an extension or something?
You are right, there seems to be a problem with “trace:true”. I tested it in IE 8. Had no chance to test it in IE9, yet.
Hey, I got more.
How do I plot a reverse axis? (one where the negative numbers go up)
The default behavior seems to be giving me positive values along the axis ticks.
Don’t use the default axes constructed by initBoard(…,{axis:true});
Use instead
board.create(‘axis’, [[0,0],[-1,0]]);
Hope that helps,
Alfred
I’m already doing that, at it still bugs for me.
*and
Hello again, I added a feature request on the sourceforge tracker. I cannot seem to add it to Trac. Anyway, the feature request is about datetime support. I would really like to have it.
how to download jsxgraph and then how to create graphs and i want to run on android tablet is it possible
Hi,
i´m working on some applets using JSXGraph. And i am wondering wether there is any 3d-support being planed. For things like spherical coordinates or something like that.
Greetings
Janneve