Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh_charts/deps.ts>ChartJs.DatasetController#updateElement

A server-side-rendered charting library for Fresh
Go to Latest
method ChartJs.DatasetController.prototype.updateElement
import { ChartJs } from "https://deno.land/x/fresh_charts@0.3.0/deps.ts";
const { DatasetController } = ChartJs;

Utility for updating an element with new properties, using animations when appropriate.

Parameters

element: TElement | TDatasetElement
index: number | undefined
properties: AnyObject