plotly-js-material-design-theme
Plotly.js charts with Material Design theme.
Last updated 2 years ago by dhjd9m .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install plotly-js-material-design-theme 
SYNC missed versions from official npm registry.

plotly-js-material-design-theme

Built on top of d3.js and stack.gl, plotly.js is a high-level, declarative charting library. plotly.js ships with 20 chart types, including 3D charts, statistical graphs, and SVG maps.

This library introduces the Material Design guidelines to Plotly.js. See the current demo.

Features

  • Material Design charts
  • easily extendable
  • effortlessly trimmable

Installation

$ npm install plotly-js-material-design-theme 

Usage

Import the chart type you need plus the general layout, call the function and pass in your chart configuration. Your configuration will be recursively merged with the one creating Material Design, whereby your configuration has precedence.

import { layout, scatter } from 'plotly-js-material-design-theme'

Now setup your chart as usual but make sure you merge it with the imported one.

const scatterLines = scatter({
  x: [1, 2, 3, 4],
  y: [10, 15, 13, 17],
  type: 'scatter',
  mode: 'lines'
})

Plotly.newPlot('scatter-lines', [scatterLines], layout({ title: 'Chart' }))

Charts

Plotly.js supports a variety of chart types. However, chart types can be classified by additional subproperties, e. g. mode or fillcolor. There is a configuration for every mode. The following table lists currently supported charts by this library.

Type Mode
bar
box
candlestick
carpet
choropleth
cone
contour
heatmap
histogram
histogram2d
histogram2dcontour
ohlc
paarcords
pie
sankey
scatter lines
markers
scatterpolar lines
scatterternary lines
markers
markers
scatter3d lines
markers
violin

Author

Julian Claus and contributors.

License

MIT

Current Tags

  • 1.1.3                                ...           latest (2 years ago)

41 Versions

  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.2                                ...           2 years ago
  • 0.8.1                                ...           2 years ago
  • 0.7.1                                ...           2 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.1                                ...           3 years ago
  • 0.5.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.17                                ...           3 years ago
  • 0.0.16                                ...           3 years ago
  • 0.0.15                                ...           3 years ago
  • 0.0.14                                ...           3 years ago
  • 0.0.13                                ...           3 years ago
  • 0.0.12                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
  • 0.0.10                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |