Sha256: ff6bae1ea70e2cf4cc196a3f94e83f18ea39dc7bd29669bbf979bef06bb36229
Contents?: true
Size: 810 Bytes
Versions: 1070
Compression:
Stored size: 810 Bytes
Contents
import React from 'react' import BarGraph from '../_bar_graph' const chartData = [{ name: 'Number of Installations', data: [1475, 200, 3000, 654, 656], }, { type: 'spline', name: 'Percentage', data: [48, 70, 25, 55, 72], color: '#F9BB00', yAxis: 1 }] const axisTitles = [ {name: "Number of Installations"}, {name: "Percentage"}] const axisFormats = [{format: ""}, {format: "{value}%"}] const BarGraphSecondaryYAxis= (props) => ( <div> <BarGraph axisFormat={axisFormats} axisTitle={axisTitles} chartData={chartData} id="bar-spline" legend title="Bar Graph with Secondary Y-axis" xAxisCategories={['Jan', 'Feb', 'Mar', 'Apr', 'May']} yAxisMin={0} {...props} /> </div> ) export default BarGraphSecondaryYAxis
Version data entries
1,070 entries across 1,070 versions & 2 rubygems