Charts widget.

Bernard Devlin bdrunrev at
Wed Aug 30 02:05:44 EDT 2023

Hi Alex

I've started using this, quite pleased with what it can do in terms of
presentation.  But it seems to me (going off the Dictionary and my own
tests) that it doesn't receive any mouse messages.  So clicking on any of
the displayed chart components has no effect.

I haven't yet investigated setting jsonoptions (as the designated way to
invoke more of the chartsjs functionality).


On Sun, Sep 25, 2022 at 9:55 PM Alex Tweedly via use-livecode <
use-livecode at> wrote:

> Anyone using this widget ?
> Is there some documentation (other than the obvious dictionary entries)
> about how to do different kinds of chart ?
> In the last 4-6 months, I've done 3 or 4 little personal projects where
> I wanted to create a chart, but I've not been able to figure out how to
> use the charts widget to do time-based charts.
> What I mean is, e.g., create a chart for the following data ....
> 2022-02-01    100
> 2022-02-04    500
> 2022-02-05    525
> 2022-02-17    900
> ....
> Obviously, the dates along the X-axis should be spaced properly
> according to their data value, not equally spaced and simply labelled.
> Looking at the charts.js documentation, it tells me (or rather, fails to
> tell me, since I can't understand it) that I need to define an 'adapter'
> and shows some sample javascript. I don't really understand how to do it
> simply in javascript - far less how I could use that in the widget.
> Can anyone give me a clue or a pointer ?

More information about the use-livecode mailing list