2.1.2004 • Published 2 months ago

oxyplot-js v2.1.2004

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

OxyPlot is a cross-platform plotting library for .NET

This repo has completely translated OxyPlot.Net into TypeScript, as well as almost all examples! Now you can use OxyPlot in web browsers and Node.js environments.

Get Started

Live Demo

Playground

Install

npm install oxyplot-js
npm install oxyplot-js-renderers

How to use

<canvas
  id="canvasPlotView"
  style="width: 800px; height: 600px"
/>
import { PlotModel } from 'oxyplot-js'
import { CanvasPlotView } from 'oxyplot-js-renderers'

const canvas = document.getElementById('canvasPlotView')! as HTMLCanvasElement
const plotView = new CanvasPlotView(canvas)

const model: PlotModel = new PlotModel({ title: 'LineSeries' })
// add some series
// model.series.push(lineSeries)

plotView.model = model
2.1.2004

2 months ago

2.1.2003

3 months ago

2.1.2002

3 months ago

2.1.2001

3 months ago