Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh_charts/deps.ts>ChartJs.BasePlatform#getDevicePixelRatio

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

Returns

number

the current devicePixelRatio of the device this platform is connected to.