Buenas!
I am new to the Penpot community, so hello to all!
I was reviewing the list of plugins, and I couldn’t find anything that would allow me to add charts, so I am working on that: codename: “penPLOT”
I have a working version that you can install: https://penplot-charting-plugin.netlify.app/manifest.json
GitHub - thegraphicmethod/penplot-charting-plugin
Before officially sending it to the plugins page I’d love somebody else to test it.
So far it has the basic chart types: bar, lines, area, donut, pie, and radar.
In the future, I plan to improve the design and add more chart types.
The goal is to provide a simple starting point that anyone can customize for their projects.
Under the hood, It generates SVG shapes using D3 and then it is transformed into Penpot shapes using “createShapeFromSvg”
Since the text was also created as a shape, I’m handling it separately to ensure it appears as editable text within Penpot.
The main issue I cannot solve is “text aligning”. While in SVG text, I can set a position and then align it left or right relative to that point, the Penpot text is “internally” right aligned but not relative to the origin point I gave.
Any tip about this?
Any other advice or changes that I might need to make before releasing this plugin? Looking forward to your feedback!
Gracias!