Can you please give an example of Chart.js as a block in grapesjs.
You can use the sandbox demo here https://github.com/artf/grapesjs/issues/559 It lets you modify traits and updates the dom. Should get you started
Read full answer below āQuestion
@artf can you please give one complete example of a chart using chart.js with traits for changing the colour, values & Data Points.? It would be great if i can get a help.
Answers (3)
You can use the sandbox demo here https://github.com/artf/grapesjs/issues/559
It lets you modify traits and updates the dom. Should get you started
@artf Please help me out.
@suchithmahadi for this kind of question I'd recommend asking on https://stackoverflow.com
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1063
Change the colour and thickness of hover. Also I want different hover colours for different elements.
Hi @artf , hands raised for this awesome product. I am trying to change the hover colour on hovering elements. I am also trying to give dif...
Issue #1771
Traits type : button not working
Hi, @artf When I try to use button type traits. It does not fire any function. Can you please help me with this. Can you please share an ex...
Issue #385
Give an example of SVG Element Help Wanted
Hi Artf, Please give a complete SVG Component with Script example.
Issue #1822
[QUESTION] - Add style sector for specific Css rule
Hey @artf , COuld you give your help on this one? I want to disable the user to able to select the wrapper block (body) but I still want to...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins āPremium plugins ship with support, regular updates, and production-ready features ā save days of integration work.
Browse premium plugins āRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.