jagracar / grafica.js Goto Github PK
View Code? Open in Web Editor NEWA simple and configurable plotting library for p5.js
Home Page: https://jagracar.com/grafica.php
License: GNU Lesser General Public License v3.0
A simple and configurable plotting library for p5.js
Home Page: https://jagracar.com/grafica.php
License: GNU Lesser General Public License v3.0
Hello jagracar,
first of all, thank you for this wonderful library. I really appreciate your work and hope that you will continue to develop it. I have often used it for my p5.js-projects and would like to continue doing so in the future. If you want, I can also show you some of my work.
While working with the library I noticed some weak spots and I mainly wanted to ask if you still support grafica.js. If so, I would give you all the details and if not, then excuse the disturbance.
I would be very happy to hear from you.
Regards,
Jaro
Hello there,
I'm trying to create a simple time serie plot, but I couldn't find how to show the datetimes in the X axis. I was wondering if I set the datetime to the label property would work, but it didn't work, the drawLabels() method only works to show the label when you click over the point.
is this possible?
I attached an example image.
Best regards.
This link in the README is dead:
http://www.openprocessing.org/collection/4807
As far as I can tell, there is no equivalent of GPlot.isOverBox
that can tell me which point the user has moused over. I'd like to be able to update another plot depending on which point the mouse has hovered over last.
The font property setters have a typo that causes an exception when setting font properties.
GPlot.prototype.setFontName
, GPlot.prototype.setFontColor
, GPlot.prototype.setFontSize
and GPlot.prototype.setFontProperties
all reference a variable named maniLayer
when they probably should reference mainLayer
I get error for 2d-plot:
Uncaught TypeError: Cannot read property 'elt' of undefined
at new GPlot (grafica.min.js:1)
at e.p.setup ((index):49)
at e. (p5.min.js:5)
at e. (p5.min.js:5)
at new e (p5.min.js:5)
at setup ((index):124)
at e. (p5.min.js:5)
at e. (p5.min.js:5)
at new e (p5.min.js:5)
at e (p5.min.js:4)
I rollback to version grafica-0.1.0.min.js
Hey, Jagracar :)
Thanks for the epic library, recently stumbled across it and I'm loving it!
I'm getting the following error when trying to run my script:
Uncaught TypeError: Cannot read property 'elt' of undefined at new GPlot (grafica.min.js:1)
I saw that it has come up in the past, and have updated my version of p5 and grafica, as it seemed to resolve the issue for others, but it hasn't helped.
Thanks for the help!
this.layerList.lenght should be this.layerList.length
Due to this problem, the function does not pass the new dimensions to the layers. As a result, the plot does not update the layers correctly if it is resized after creation.
When I try to run one of the graphing example I get the following error in the console:
Uncaught TypeError: Cannot read property 'elt' of undefined
at new GPlot (grafica.js:3462)
at p5.p.setup (script.js:84)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.