I was looking for a nice wrapper for Charts.js library and came across the one in ForgeBox for Preside CMS... It seems to lack the ColdBox modularization code, has anybody used it without Preside installed with ColdBox or vanilla CF? https://forgebox.io/view/preside-ext-chart-js
b
bdw429s
04/28/2025, 4:18 PM
That isn't a ColdBox module, it's a Preside CMS plugin, which is a CMS built on top of ColdBox.
bdw429s
04/28/2025, 4:18 PM
You'd need to be using Preside CMS to drop it in and use it
p
Patrick S
04/28/2025, 5:31 PM
Yep, 100% figured that part out. Just wanted to be sure I wasn't overlooking anything. (Their documentation talks about how to make their modules ColdBox compatible, but it looks like this one is intentionally made not to work that way.)
s
Steve Bryant
04/28/2025, 7:20 PM
What are you looking for in a Chart.js wrapper?
p
Patrick S
04/28/2025, 7:27 PM
Just a quicker way to integrate it into projects, especially when building out a quick dashboard. CFChart is kinda finicky, at least on 21, but it does hide the basics nicely for passing it data and what not.
s
Steve Bryant
04/28/2025, 7:33 PM
I recently wrote a JS wrapper for passing data int Chart.js from an HTML table, but really nowhere near as full-featured as cfchart. It would be interesting to write custom html elements as a wrapper for Chart.js though...
p
Patrick S
04/28/2025, 7:37 PM
The Preside module I linked above seems to be generally heading in a nice direction, especially where it sourcing data from a query object. I'll probably just cobble something together, but it is so annoying to see it already done, but not quite, you know?