@@ -209,84 +209,4 @@ function BarChart({ data, height, width, max_bars, accumulate_remaining }) {
209209    </ Fragment > 
210210} 
211211
212- export  default  BarChart 
213- 
214- 
215- 
216- 
217- // <ResponsiveBar  
218- // data={data} 
219- // // sortByValue={true} 
220- // margin={{ top: 0, right: 200, bottom: 0, left: 50 }} 
221- // innerRadius={0.5} 
222- // padAngle={0.7} 
223- // cornerRadius={3} 
224- // colors={getColor} 
225- // borderWidth={1} 
226- // borderColor={{ from: 'color', modifiers: [['darker', 0.2]] }} 
227- // enableRadialLabels={false} 
228- // radialLabelsSkipAngle={10} 
229- // radialLabelsLink={false} 
230- // radialLabelsTextXOffset={6} 
231- // radialLabelsTextColor={getColor} 
232- // enableSlicesLabels={false} 
233- // slicesLabel="id" 
234- // radialLabelsLinkColor={{ from: 'color' }} 
235- // slicesLabelsSkipAngle={10} 
236- // slicesLabelsTextColor="#fff" 
237- // animate={true} 
238- // motionStiffness={90} 
239- // motionDamping={15} 
240- // tooltip={(e) => <div style={{ color: "#5b6166" }}>{e.label} : {e.parsed} </div> } 
241- // defs={[ 
242- //     { 
243- //         id: 'dots', 
244- //         type: 'patternDots', 
245- //         background: 'inherit', 
246- //         color: 'rgba(255, 255, 255, 0.3)', 
247- //         size: 4, 
248- //         padding: 1, 
249- //         stagger: true 
250- //     }, 
251- //     { 
252- //         id: 'lines', 
253- //         type: 'patternLines', 
254- //         background: 'inherit', 
255- //         color: 'rgba(255, 255, 255, 0.3)', 
256- //         rotation: -45, 
257- //         lineWidth: 6, 
258- //         spacing: 10 
259- //     } 
260- // ]} 
261- // fill={[ 
262- //     { 
263- //         match: { 
264- //             style: 'dots' 
265- //         }, 
266- //         id: 'dots' 
267- //     }, 
268- 
269- //     { 
270- //         match: { 
271- //             style: 'lines' 
272- //         }, 
273- //         id: 'lines' 
274- //     }, 
275- 
276- 
277- // ]} 
278- 
279- // legends={[ 
280- //     { 
281- //         anchor: 'right', 
282- //         direction: 'column', 
283- //         translateX: 150, 
284- //         translateY: 0, 
285- //         itemWidth: 100, 
286- //         itemHeight: 25, 
287- //         itemTextColor: '#999', 
288- //         symbolSize: 18, 
289- //         symbolShape: 'circle', 
290- //     } 
291- // ]} 
292- // /> 
212+ export  default  BarChart 
0 commit comments