[Project description
npm run build
npm run watch
// un peu bancal mais ça marche…
raw : string | null |
parsed : any | () => any |
=> type issues with manager…
=> parent listen children => parent signal ??? => children.attach() => requestUpdate => parentChanged => update. => children.detach()
=> listen properties. => throttle => requestUpdate => if no changes : nothing => if changes update() => order depending on type (datasets before scales, etc) => permet de retirer beforeChartUpdate()
doc StringEval types + auto-deduce.
doc components
🐛 Empty tooltip : do not show. 🐛 Actuellement, le pan ne fonctionne pas avec l’API JS. 🐛 Actuellement Datalabels requiert Tooltip 🐛 jsapi-value-cstr
datalabels : clickable class CSS cursor
Playground
Dataset: specify axes to use.
hide -> hidden -> hidden scales.
move components (remove and add)
export/import (several types…)
-> Initial components in ChartHTML cstr ? […args] ? -> {scales: {name:}, datasets: {}} ? -> {[type]: {[name]: {otherprops}}} -> special : curves: { [name]: {opts+type}} => capitalize.
-> tooltips => external: externalTooltipHandler https://www.chartjs.org/docs/latest/samples/tooltip/html.html
use signals (attrs+content are signals/processed ?) -> contentRaw + contentParsed (a constant computedSignal, override method). -> attrsRaw + attrsParsed (?) [not a signal : besoin de la structure entière] -> StringEval is a computedSignal() ? -> do not reparse content. -> rawValues -> signalValues (???) -> effect`` <= detect signals and update only when signals changed.