1.0.2 • Published 3 years ago
react-plotly-legend v1.0.2
plotly-legend-react
A simple rewrite legends component for plotly
<div>
<PlotLegend/>
</div>
Install & Usage
yarn add plotly-legend-react
Include the Component
import React from 'react'
import LegendPlot from 'react-plotly-legend'
export default () => {
return (
<LegendPlot data={data} layout={layout} />
)
}
LegendPlot's props is the same as plotly
Demo
1.0.2
3 years ago
1.0.1
3 years ago
0.0.3-development
3 years ago
0.0.2-development
3 years ago
0.0.2
3 years ago