UNPKG

41.8 kBMarkdownView Raw
1## 2.1.6 (oct 26, 2021)
2
3### fix
4
5- Fix types folder missing
6
7## 2.1.5 (oct 15, 2021)
8
9### fix
10
11- Fixed types for legend events (#2267 #2269)
12- Fix the react-is version (#2670)
13- Fix type declaration errors when tsc (#2675)
14- Fix(build-umd): add webpack output options libraryTarget (#2684)
15
16## 2.1.4 (sep 19, 2021)
17
18### fix
19
20- Fix: ResponsiveContainer makes legend overlapping with chart when re-rendering (#2660)
21- Fix: rendering of a single bar when maxBarSize is absent and barSize is present (#2659)
22
23## 2.1.3 (sep 18, 2021)
24
25### fix
26
27- fix: Customized component has no key (#2637)
28- Fix XAxis scale propery type (#2641)
29
30## 2.1.2 (aug 24, 2021)
31
32### fix
33
34- Fixes undefined field reference when optional variables not supplied (#2630)
35- Fix fragment children (#2481)
36## 2.1.1 (aug 21, 2021)
37
38### fix
39
40- Fix: responsive container
41
42## 2.1.0 (aug 10, 2021)
43
44### feat
45
46- Wrap ResponsiveContainer with forwardRef
47
48### fix
49
50- Fix for recharts issue #1787
51- Add chart type to tooltip payload
52## 2.0.10 (jul 13, 2021)
53### feat
54
55- Feat: Allow automated axis padding for "gap" and "no-gap" for barcharts with continuous axis #2457
56- Passthrough position attribute on createLabeledScales
57
58### fix
59
60- fix: barchart for a single data point #2512
61- fix: the bar label type definition #2582
62- fix: show scatter chart tooltip cross cursor #2592
63
64## 2.0.9 (mar 24, 2021)
65
66### chore
67
68- update test config and webpack, etc
69
70## fix
71
72- fix for missing sankey tooltips, fix #2496
73- added polyfill for ReactResizeDetector, fix #2504
74- fix condition to actually remove the listener, fix #2498
75- fix typing of <Area type /> prop, fix #2471
76
77## 2.0.8 (Feb 24, 2021)
78
79### feat
80
81- allow to show tooltip when hover or click bar item for <BarChart /> and <RadialBarChart />
82- add api `getXScales`, `getYScales`, `getXScaleByAxisId`, `getYScaleByAxisId`, `getItemByXY` to chart, fix #2422
83- Add SyncMethod to categorical charts
84- `findAllByType` searches for match inside of a fragment
85- allow to add customized `polarAngles` and `polarRadius` to <PolarGrid />, fix #2452
86
87### fix
88
89- fix Tooltip receive wrong payload when mouse enter <Line />, .etc, fix #2394
90- fix Treemap tooltip when use `dataKey` to specify value, fix #2428
91
92### deps
93
94- update react-resize-detector to 6.6.0, fix #2431
95
96
97## 2.0.7 (Feb 18, 2021)
98
99### fix
100
101- add missed type definition of tickMargin in XAxis, YAxis, fix #2427
102- filter out nil elements of chart
103- ensures `id="undefined"` is not rendered to the DOM when use ResponsiveContainer
104- fix auto scale type of ComposedChart, fix #2403
105- Fix .d.ts types that relay on d3
106
107## 2.0.6 (Feb 08, 2021)
108
109### fix
110
111- fix types error in npm pkg, fix #2398
112
113## 2.0.5 (Feb 08, 2021)
114
115### feat
116
117- defer when syncing to other charts
118
119### fix
120
121- Fix Customized component types
122- fix child event not dispatched, fix #2414
123
124## 2.0.4 (Jan 27, 2021)
125
126### feat
127
128- add maxLines prop to Text component
129
130
131### fix
132
133- Add `payload` to `Payload` interface
134- prevent rerender errors in ResponsiveContainer
135- Add PieLabel, PieLabelRenderProps types
136
137### deps
138
139- Upgrade react-resize-detector(4.x => 5.x) types to match the library
140
141
142
143## 2.0.3 (Jan 13, 2021)
144
145### refactor
146
147- use `getDerivedStateFromProps` to replace `UNSAFE_componentWillReceiveProps`, support react@17, #2385
148
149## 2.0.2 (Jan 12, 2021)
150
151### fix
152
153- fix lint error
154
155## 2.0.1 (Jan 12, 2021)
156
157### fix
158
159- Fix typo, createLabeldScales -> createLabeledScales
160- Prefer Number.isFinite if available
161- fix types error
162- fix(package.json): disable side effects explicitly
163
164
165### feat
166
167- Add aria-hidden to measurementSpan
168
169
170## 2.0.0 (Dec 29, 2020)
171
172### fix
173
174- fix minAngle for 0 in PieChart, fix ##2237
175- fix type error of <Bar />, fix #2335
176- fix type error of cursor in <Tooltip />, fix #2178
177- fix Props of XAxis, fix #2128
178- export Props of components, fix #2319, #2156, #2203
179- Fix typo, getRectangePath -> getRectanglePath in Rectangle
180- allow Duplicated Category for bar charts not using correct entries for custom tool tips
181- fixing typescript array coalesce
182- fix types error of sankey, fix #2280
183- Fixed SVG path for pie charts when corner radius is set to a value other than zero (#2331)
184
185### feat
186
187- add props `reversed` to `<Funnel />`
188- add `breakAll` props to `<Text />` to allow break all for chinese
189- fix width of labelList in Funnel; fix #2056, #1866
190- support range RadarChart and add props `connectNulls` to <Radar />, fix #1890
191- add ability to pass in custom legend icon.
192
193### deps
194
195- upgrade react-resize-detector to 5.2.0 and fix ts error, fix #2300
196- update react-smooth to 1.0.6 to fix bug after upgrading d3
197- upgrade d3 packages
198
199
200## 2.0.0-beta.8 (Nov 16, 2020)
201
202### fix
203
204- Add color change for inactive legend label
205- fix stackOffset="sign" in #2292, and add props stackOffset="positive" to fix #1667
206
207### refactor
208
209- update `filterSvgElements` and `renderByOrder`
210- Replace core-js polyfill and remove babel-polyfill
211
212
213## 2.0.0-beta.7 (Sep 08, 2020)
214
215### fix
216
217- Fix flickering tooltip by keeping the isTooltipActive flag from the previous state
218- fix(AreaDot Type): add option to use a function that returns a react element
219- Fix typescript error in polar radar
220- Fix typos in Label.renderCallByParent
221- Add type definition for label prop on XAxis, YAxis and ZAxis
222
223### feat
224
225- Pass tickFormatter as a prop to customized tick component
226- Allow array value for last data element in Funnel to set bottom width instead of forcing 0
227- Add payloadIndex to cursor props
228
229## 2.0.0-beta.6 (May 12, 2020)
230
231### fix
232
233- fix error of Brush when data is empty, but chart width or height or Brush update, fix #2093
234- fix build error , fix #2120
235- fix attrs of <Label />, reverts previous change: now `positionAttrs` is again after `attrs`
236- Get legend wrapper boundingRect to correctly compute legend offset, fix #2062
237
238### feat
239
240- support customized traveller of Brush, fix #1600
241
242## 2.0.0-beta.5 (Mar 26, 2020)
243
244### fix
245
246- fix types of generateCategoricalChart
247- fix position of tooltip when the categorical axis has time scale
248- fix position of tooltip when direction is rtl
249- fix name of Scatter in tooltip
250- Fix outerArcAngle and innerArcAngle when cornerIsExternal == true
251- fix IE 11 supoort because of d3-scale@3.x
252
253### feat
254
255- add Global setting, include "isSsr"
256- support tooltip trigger by click event
257- add static method `registerSymbol` to Symbols
258- add payload to formatter and labelFormatter in Tooltip
259- allow domain of axis to change the order of categories
260
261
262## 2.0.0-beta.4 (Mar 17, 2020)
263
264### fix
265
266- fix error of <Curve /> when add child to <Line />, fix #2051
267- fix Stack AreaChart when some values is negative, fix #1667
268- fix stack AreaChart when some values is nill, fix #1601
269
270### dep
271
272- Upgrade reduce-css-calc
273
274### chore
275
276- add types
277
278
279## 2.0.0-beta.3 (Mar 13, 2020)
280
281### fix
282
283- fix range of ReferenceArea of BarChart, fix #2045
284- fix className of axis line, fix ##2024
285- fix ComposedChart when has multiple <Bar/>, fix #2031
286- fix ComposedChart when specify scale of <XAxis />, fix #2010
287
288### chore
289
290- update eslint and add .prettierrc
291
292## 2.0.0-beta.2 (Mar 10, 2020)
293
294### fix
295
296- Do word line calculation only when needed
297- Fixes arc angles when `cornerIsExternal` is used
298- Invert cartesian label position based on negative values
299- Fix usage of hooks in Tooltip, Label, Legend and Customized
300- Move draging-end listener to the window for brush
301- Fix trigger after mouse leave
302- Added the angle as key which need to be used in the Label align
303- Rewrite index.js to index.ts, update scripts in package.json
304
305### feat
306
307- Added index to tickFormatter
308- Allow axis line customization through axisLine prop
309
310## 2.0.0-beta.1 (Dec 03, 2019)
311
312### fix
313
314- fix error parameters in `appendOffsetOfLegend`
315- fix style of <Area />
316
317## 2.0.0-beta.0 (Dec 03, 2019)
318
319### feat
320
321- Only support react@16
322- Use typescript to rewrite src/
323
324## 1.8.5 (Oct 22, 2019)
325
326### fix
327
328- revert [PR#1916](https://github.com/recharts/recharts/pull/1916)
329- fix Text update, fix #1914
330
331## 1.8.4 (Oct 22, 2019)
332
333### fix
334
335- Adding Composed chart to rescaled charts, to fix #1887
336
337## 1.8.3 (Oct 17, 2019)
338
339### fix
340
341- fix: rollback to componentWillReceiveProps, fix crash in react@15
342
343## 1.8.2 (Oct 17, 2019)
344
345### fix
346
347- Used UNSAFE_componentWillReceiveProps to replace componentDidUpdate
348
349## 1.8.1 (Oct 16, 2019)
350
351### fix
352
353- Fixed Text Component crash
354- Fixed eslint errors in src/
355
356
357### feat
358
359- Add props of <Brush /> to always show text
360- Add onClick event to sankey chart
361- Shape prop can be used without any other prop in reference area
362
363## 1.8.0 (Oct 15, 2019)
364
365### refactor
366
367- react unsafe methods refactored
368
369## 1.7.1 (Aug 13, 2019)
370
371### fix
372
373- Fix bar chart tooltip (#1837)
374
375## 1.7.0 (Aug 08, 2019)
376
377### feat
378
379- allow events on Text and Label components
380- Enable Tooltip's `translate` style
381- Added position props for ReferenceLine to allow to control offset of it
382
383### fix
384
385- handle `dataKey` as function, get correct data array for tooltip
386- fix style of legend in case of area and radar use fill for fallback color
387
388## 1.6.2 (May 22, 2019)
389
390### feat
391
392- Add cornerIsExternal prop to center rounded corner at radial bar edge
393- Add new component `Customized` to render customized content which can user internal state and props
394- Add props `tooltipType="none"` to hide tooltip data for Area, Bar, Line, Scatter, Funnel, Pie, Radar, RadialBar
395
396### fix
397
398- fix the order of tooltip items when not specify itemSorter
399- Fix typo in example of RadialBarChart
400
401
402## 1.6.1 (May 20, 2019)
403
404### fix
405
406- fix "Maximum call stack size exceeded" error when use label={<Label />}
407- fix bug of "Cannot read property reduce of undefined in Text.js"
408- fix `getDomainOfDataByKey` when all the values are null or undefined
409
410## 1.6.0(May 14, 2019)
411
412### fix
413
414- Use y-axis ticks to determine y-axis category
415- fix bug in ThreeMap inside ResponsiveContainer, fix #1692
416- Avoid same keys on label and line, fixes #1302
417- use _.max to replace Math.max.apply, use _.min to replace Math.min.apply
418
419### feat
420
421- Adds forceCornerRadius prop to RadialBar
422- calculate width with aspect and height when width is falsey
423
424## 1.5.0(Feb 15, 2019)
425
426### fix
427
428- fix the bug of ReferenceLine when calculate coordinates, fix #1643
429- fix bug of Scatter in ComposedChart
430
431### feat
432
433- allow aria-* attributes and "role", "focusable", "tabIndex" of charts, fix #1226, fix #1584
434- add new props "paylodUniqBy" to Tooltip and Legend
435
436## 1.4.4(Feb 15, 2019)
437
438### fix
439
440- fix the bug of automatically calculate the y-coordinate of yAxis tick when tick has unit, fix #1623
441- render clipPath in <defs />, fix bug in generateCategoricalChart, fix #1592
442- remove React.Fragment in DefaultTooltipContent, fix #1645
443
444## 1.4.3(Feb 12, 2019)
445
446### fix
447
448- fix bug of <Rectangle /> when width < 0 && `radius` is not null, fix #1596
449- fix paddingAngle of Pie when render only <Pie /> not <PieChart />
450- fix onMouseEnter and Tooltip for Pie on FireFox
451
452### feat
453
454- Make the timeOut timer for the brush configurable through props
455- Allow to format name in Tooltips
456
457### dep
458
459- Update lodash version to 4.17.5 and install webpack-dev-server@3.1.14 dev dependency
460- Updated package.json to mark effectful modules
461- chore: update version of sinon, from 4.x to 7.x
462
463
464## 1.4.2(Dec 21, 2018)
465
466### refactor
467
468- Refactor transition of <Area />, <Line />, <Radar />, make transition more smoothly when the length of dataset changes
469
470### fix
471
472- replace lodash isFinite with Number.isFinite, meanwhile add polyfill core-js's Number polyfill in order to use Number.usFinite directly
473- updated area chart to cut off dots on left most axis
474
475## 1.4.1(Nov 16, 2018)
476
477### fix
478
479- Fix height of TreeMap
480
481## 1.4.0(Nov 15, 2018)
482
483### feat
484
485- Add FunnelChart and Trapezoid
486- Add nested Treemap
487
488## 1.3.6(Nov 07, 2018)
489
490### fix
491
492- Fix bug preventing use of functions or custom components for the Bar background prop
493- Fix incorrect sort logic in stripe rendering
494
495### feat
496
497- Added animateNewValues property to Line
498
499## 1.3.5(Oct 25, 2018)
500
501### fix
502
503- use lodash _.values instead of Object.values
504- perfer YAxis which has finite domain and nice ticks when a chart has many YAxes
505- fix <Area /> for expected length height attribute
506
507### chore
508
509- add babel-plugin-lodash in babelrc
510- update webpack.config.js to remove sourceMap in umd/Recharts.min.js
511
512## 1.3.4(Oct 13, 2018)
513
514### fix
515
516- Fix domain calculation with 0 values (#1519)
517
518## 1.3.3(Oct 10, 2018)
519
520### feat
521
522- find yAxisWithNiceTicks and choose it over getAnyElementOfObject
523
524### fix
525
526- update recharts-scale to 0.4.2 to fix bug of DecimalError when data is Inifinity, fix #1493
527
528## 1.3.2(Oct 07, 2018)
529
530### fix
531
532- Fix axis type error
533- Fix add sideEffects flag to enable tree-shaing
534
535## 1.3.1(Sep 29, 2018)
536
537### fix
538
539- Fix the react-resize-detector don't match react 15
540
541## 1.3.0(Sep 28, 2018)
542
543### feat
544
545- upgrade recharts-scale to 0.4.0, to fix the calculation of big float
546
547## 1.2.0(Sep 7, 2018)
548
549### feat
550
551- Add blendStroke prop to Pie component
552- Adding contentStyle prop to Tooltip for styling DefaultTooltipContent
553
554### fix
555
556- Fixed typo of playload -> payload in Radar chart
557- Fix PieChart animation event handlers not firing
558- Fix alwaysShow warn() condition in ReferenceLine
559- Fix Tooltip disappears when using setState()
560
561## 1.1.0(Jul 19, 2018)
562
563### feat
564
565- Allow reference areas which extend past the canvas bounds
566- Allow to add more classes in tooltips
567- Reference line segment by specifying a pair of
568 endpoints
569
570## 1.0.1(Jul 05, 2018)
571
572### fix
573
574- only use babel-es in es6/, fix #1372
575
576## 1.0.0(Jul 05, 2018)
577
578### fix
579
580- #1195 Replace axis scale value `utcTime` with `utc`
581- remove wrapperStyle on DefaultTooltipContent
582- Clip dots of <Line />
583- Move style spread to after default styles to allow overriding
584- Fixing range area chart bottom bound. Base line needed to be filterted for connecting
585 null
586- Fix tooltips that disappear while mouse still over a scatter point
587
588### refactor
589
590- use lodash-es for es6 build
591- Factor out some scale- and rect-related functions
592
593### feat
594
595- Add touchStart & touchEnd event handling
596- Add explicit prop `defaultShowTooltip` to activate tooltip
597- Position the 'top' label outside the element for negative heights
598
599## 1.0.0-beta.10(Jan 31, 2018)
600
601### fix
602
603- fix Scatter Chart:lineType 'fitting' does not work
604- Update to allow CSP compliance on setting styles
605- Remove react-transition-group from peerDependencies
606
607### refactor
608
609- Replace flatmap of reduce to _.flatmap in getDomainOfDataByKey
610
611### feat
612
613- Add the gap of props for brush
614
615## 1.0.0-beta.9(Jan 09, 2018)
616
617### fix
618
619- Fix `verticalFill` and `horizontalFill` in `<CartesianGrid />` when points are unordered
620
621## 1.0.0-beta.8(Jan 09, 2018)
622
623### feat
624
625- Add props `useTranslate3d` to control whether use translate3d or translate in <Tooltip />
626- Add props `verticalFill` and `horizontalFill` in `<CartesianGrid />` to show grid background
627- Add `visibleTicksCount` in props of customized tick of `<CartesianAxis />`
628
629### fix
630
631- Replace lodash _.get with simple Array.prototype.find
632- Prevent texts from being selected when dragging the brush
633- Add try...catch... when getTotalLength is called by a svg path to fix IE bug
634
635## 1.0.0-beta.7(Dec 21, 2017)
636
637### feat
638
639- Add props `allowDuplicatedCategory` to XAxis, YAxis, PolarAngleAxis, PolarRadiusAxis, to remove duplicated category when type="category"
640- Add props id in `<Area />`, `<Bar />`, `<Line />`, `<Scatter />`, `<Label />`, `<LabelList />` for SSR
641- Support specify domain of category type axis when allowDuplicatedCategory is false, add cooresponding "xAis", "yAxis", "zAxis" to the props or customized shape of Scatter
642
643### fix
644
645- Fx sanketartAngle and endAngle of RadarChart diagram not re-rendering when updating data prop
646- Fix animation of AreaChart when baseLine is NaN / undefined
647- Fix default startAngle and endAngle of RadarChart
648- Use cloneElement to create Legend
649
650## 1.0.0-beta.6(Dec 02, 2017)
651
652### feat
653
654- Add props `background` to support background rectange in `<Bar />`
655- add props `tickMargin` which set the space between text and tick line
656
657### fix
658
659- update PRESENTATION_ATTRIBUTES to allow set the radius of each `<Rectangle />` of BarChart
660- render Legend when all values of Pie is 0
661- fix animation of intial `<Bar />`
662
663## 1.0.0-beta.5(Nov 24, 2017)
664
665### fix
666
667- fix `isChildrenEqual` when chart has a single child in an array
668- support LabelList in ScatterChart
669
670## 1.0.0-beta.4(Nov 24, 2017)
671
672### fix
673
674- fix Label when content is a function and return simple string
675- add name to propTypes of Scatter
676- fix ** error of lib/
677
678## 1.0.0-beta.3(Nov 23, 2017)
679
680### feat
681
682- Add datakey to proops of customized dot
683
684### fix
685
686- Removed the use of `Children.only` from the isSingleChildEqual call. Appears to resolve the issue logged at https://github.com/recharts/recharts/issues/935
687- Fix Line Animation with given Magic Number
688- Don't break text contents on non-breaking spaces
689- Support for "strokeDasharray" in <Legend/>
690- Fix Bar Animation with the given Magic Number
691- Fix position of `<Label />`
692- Fix exception of AreaChart when all the values are null
693- Fix the orders of polar angle ticks in RadarChart
694- Replace ** width Math.pow
695
696## 1.0.0-beta.2(Nov 17, 2017)
697
698### fix
699
700- fix attributes order of `<Label />`
701- fix the domain of Axis when specify `ticks`
702
703### feat
704
705- allow set x, y, width, height, horizontalPoints, verticalPoints of CartesianGrid
706- add props to the parameters of callbacks
707
708### refactor
709
710- add id prop to Pie Component
711- Update Bar and Line to allow them to recognise multiple ErrorBars
712
713## 1.0.0-beta.1(Nov 06, 2017)
714
715### feat
716
717- Add index to line props in Pie
718- Update ReferenceDot.js
719
720### chore
721
722- update react-resize-detector, react-smooth to support react16
723
724## 1.0.0-beta.0(Oct 24, 2017)
725
726### feat
727
728- Allow ReferenceArea to cover available space
729- Support React 16
730
731### fix
732
733- Fix bug of animation when toggle the value of `isAnimationActive`
734
735## 1.0.0-alpha.6(Oct 10, 2017)
736
737### feat
738
739- Add props `reverseStackOrder` to reverse the order of stacked items
740- Allow an arbirary domain for cartesian X and Y axes
741- Added className prop for Label
742
743### fix
744
745- Fix confused parameter `startX` in `<Brush />`
746- Fix ScatterChart when the type of XAxis is "category"
747
748### docs
749
750- Fix typo initilaState -> initialState
751
752
753## 1.0.0-alpha.5(Sep 16, 2017)
754
755### fix
756
757- Don't check for animation when it is disabled
758- fix bug of paddingAngle when isAnimationActive is true
759
760### feat
761
762- add props filterNull to `Tooltip`, null values will not be filtered when filterNull = false
763
764### refactor
765
766- Allowing length in different unit in ResponsiveContainer
767 By allowing type: String on 'minHeight', 'minWidth', 'maxHeight' property, developers can use length in different units like em, pt etc.
768- Render curve with fill first in Area
769
770
771### dep
772
773- remove react-transition-group in peer dependencies
774- Updates resize-detector to 0.6, close #705, fix the problem with strange scrollbars appearing over the charts
775
776## 1.0.0-alpha.4(Aug 21, 2017)
777
778### fix
779
780- Fix error 'Cannot read property 'map' of undefined' in Pie
781- Fix bug of parsing the width of Brush
782- Don't render any path when width === 0 || height === 0 in Rectangle
783### refactor
784
785- Avoid calculating ticks if tick is set to false
786- Update the order of parsing data in mixed components
787
788### feat
789
790- Render unit when the props unit of XAxis, YAxis is specified
791- Add default nameKey to "name" property in Pie
792- Add props className and id to ResponsiveContainer
793
794### dep
795
796- Update recharts-scale to fix bug of ticks
797
798## 1.0.0-alpha.3(Aug 12, 2017)
799
800### fix
801
802- fix bug of isChildrenEqual
803- fix "hide" props of YAxis
804
805## 1.0.0-alpha.2(Jul 10, 2017)
806
807### feat
808
809- Add props className to ReferenceLine, ReferenceDot, ReferenceArea
810- Specify the contents of LabelList by `dataKey`
811
812### fix
813
814- Fix faulty logic check in inRange function
815- onTouchMove event call method that handle tooltip and active dot draw
816- Show tooltip on drag movement on touch devices
817- Fix viewBox of Label when render implicit label
818- Fix label of Pie
819- Fix events of Pie and PieChart
820- Fix bug of interplateNumber
821- Fix the bug of parsing "dataMin - 0.05" like domain
822
823## 1.0.0-alpha.1(Jun 11, 2017)
824
825### fix
826
827- update the propType of the props data or Bar
828- fix the type of Curve
829- fix connectNulls of `Line`
830- update version of recharts-scale to fix #713
831- fix valueKey of Pie temporarily and add logs when use deprecated "valueKey"
832- bind events to Radar
833- fix animation of active-dot
834
835## 1.0.0-alpha.0(May 24, 2017)
836
837### refactor
838
839- refactor PolarCharts
840- refactor Animation
841- refactor Label and LabelLis
842
843### fix
844
845- fix scale of ErrorBar
846
847## 0.22.4 (Apr 26, 2017)
848
849### fix
850
851- fix dot customized className
852
853### dep
854
855- update react-smooth, and react-transition-group
856
857## 0.22.3 (Apr 19, 2017)
858
859### refactor
860
861- add mathSign in DataUtils to replace Math.sign
862
863## 0.22.2 (Apr 18, 2017)
864
865### fix
866
867- fix spelling error of fillOpacity
868- fix bug of axis when has duplicated ticks
869
870
871## 0.22.1 (Apr 13, 2017)
872
873### feat
874
875- Add legendType: ‘none’ to not render coresponding legend item
876- use prop-types instead of React.PropTypes
877
878### fix
879
880- Fix re-rendering element bug when adding new elements
881- Fix circular dependence of Brush.js and LineChart.js
882
883## 0.22.0 (Apr 05, 2017)
884
885### feat
886
887- Add event handlers to component Dot
888- Support embedded chart as a panoram in Brush
889- Add props reversed to `XAxis` and `YAxis` to reverse the range of axis
890
891### fix
892
893- Fix error or time scale
894
895## 0.21.2 (Mar 01, 2017)
896
897### fix
898
899- fix ticks for specified domain
900
901## 0.21.1 (Feb 28, 2017)
902
903### fix
904
905- Update recharts-scale to fix bug of ticks
906
907## 0.21.0 (Feb 28, 2017)
908
909### feat
910
911- Support band area and band bar
912- support customized horizontal line and vertical line in CartesianGrid
913- support customized events in ReferenceArea, ReferenceLine
914- add formatter in `Legend`
915
916### fix
917
918- Fix empty tick when category axis has nil values
919- fix the propTypes of fontSize
920- support props dx and dy in Text
921- fix bug of stacked bar when spcify domain of axis
922- fix the barSize of bars in `<Bar />` when too many bars
923
924## 0.20.8 (Feb 15, 2017)
925
926### fix
927
928- Fix bug when onBBoxUpdate of Legend is null
929
930## 0.20.7 (Feb 15, 2017)
931
932### fix
933
934- Fix stack chart when only have one stacked element
935- Fix the offset when the boundary box update
936- Fix position of XAxis in ScatterChart when the orientation is right
937- Use DataUtils.uniqueId to replace lodash.uniqueId
938
939### feat
940
941- Add props `mirror` in XAxis and YAxis, support mirror ticks
942- Add props iconType to the props of Legend which can specify the icon type of legend
943
944## 0.20.6 (Feb 08, 2017)
945
946### fix
947
948- Fix `dataStartIndex` and `dataEndIndex` of synchronized chart
949- Use lodash.uniqueId to produce the id of Pie
950
951## 0.20.5 (Jan 17, 2017)
952
953### fix
954
955- fix "Maximum call stack size exceeded error" caused by Tooltip update
956
957## 0.20.4 (Jan 17, 2017)
958
959### fix
960- Animate of Tooltip may crash browser sometimes, use style transition to do the animation of tooltip
961
962## 0.20.3 (Jan 17, 2017)
963
964### fix
965
966- Fix Tooltip in ScatterChart
967- Fix radius of Rectangle when height < 0
968
969### feat
970
971- Add clip path in Area, Bar and Scatter
972- Add onMouseDown and onMouseUp hooks in generateCategoricalChart
973
974### chore
975
976- Disable babel transform es2015 modules to commonjs for es6 build
977- Use cross-env to support windows builds, likewise downgrade linebreak-style to warning
978- Update release.sh
979
980## 0.20.2 (Jan 05, 2017)
981
982### fix
983
984- remove opacity in ErrorBar
985- fix `Tooltip` when `coordinate` is null
986
987### feat
988
989- add props `basevalue` in `AreaChart`
990- add clipPath when xAxis or yAxis of `Line` allow data overflow
991- allow dataKey to be a map function
992- support Tooltip in Sankey and Tooltip
993- Allow Brush to set default startIndex and endIndex
994
995## 0.20.1 (Dec 27, 2016)
996
997### fix
998
999- Fix bug of `isChildrenEqual` when component has child `null`
1000- Adjust `barGap` when `bandSize` is too small to display bars
1001
1002
1003### feat
1004
1005- Add props `payload` and `value`, update props `index` in `activeDot` of `Line`, `Area`
1006
1007### refactor
1008
1009- Move polyfill of `Math.sign` to polyfill.js
1010
1011## 0.20.0 (Dec 26, 2016)
1012
1013### feat
1014
1015- Support `ErrorBar` in `Line`, `Area`, `Bar`, `Scatter`
1016- Support touch event in `LineChart`, `AreaChart`, `BarChart`
1017- Add props `throttleDelay` in `LineChart`, `AreaChart`, `BarChart` for performance
1018- Support cornerRadius in Sector, RadialBar and Pie
1019- Support events in CartesianAxis, PolarAngleAxis, PolarRadiusAxis
1020- Support touch events in Brush
1021
1022### refactor
1023
1024- Use `getStringSize` to calculate the width of `Text`
1025- Refactor children comparsion in `generateCategoricalChart`, and add updateId to force Brush update when children update
1026- Refactor `getMouseInfo` to remove some duplicated codes in `generateCategoricalChart`
1027- Refactor Tooltip and Legend, remove react-dom-server
1028
1029### fix
1030
1031- Fix the `chartId` in `handleReceiveSyncEvent` of `generateCategoricalChart`
1032
1033## 0.19.1(Dec 15, 2016)
1034
1035### fix
1036
1037- Adding missing event propTypes
1038- support x, y of `Text` are number or text
1039- fix proptypes of Scatter to allow that the props `data` can be a array of array
1040- fix server side render check `isSsr`
1041- remove duplicated "square" in legendType
1042- fix `getStringSize` when server side rendering check fails
1043- fix animation error when update Line which has props stroke-dasharray
1044- fix bug of BarChart when add stackId in only one Bar and update test cases
1045
1046## 0.19.0 (Nov 23, 2016)
1047
1048### refactor
1049
1050- remove unneed `Animate` in `Bar` and `Rectangle`
1051- refactor interval of `CartesianAxis`, support "preserveStart", "preserveEnd", "preserveStartEnd"
1052- add payload in the `Tooltip` and `Scatter` of `ScatterChart`, and unify the payload of Components
1053
1054### feat
1055
1056- `RadialBar` support events triggered on the entire bar
1057- support customized lable in `RadialBar`
1058- support `maxHeight` in `ResponsiveContianer`
1059
1060### fix
1061
1062- fix multiple y-axes breaks chart when plotting only single datum
1063- Relax propTypes.ticks in CartesianAxis
1064
1065## 0.18.0 (Nov 15, 2016)
1066
1067### feat
1068
1069- support customized scale function of categorical charts
1070- support customized events in Legend
1071
1072### refactor
1073
1074- refactor ResponsiveContainer with ReactResizeDetector
1075- change the default value of isAnimationActive
1076- remove some unneed default attributes of Components
1077
1078### fix
1079
1080- fix wrong written default props
1081- fix twice triggered event in Bar
1082- fix treemap stroke pollution cause by defaultProps
1083
1084## 0.17.0 | 0.17.1 (Nov 08, 2016)
1085
1086### fix
1087
1088- fix strokeDasharray of Line
1089- add payload in Legend payload item
1090- fix position of vertical Legend
1091- Recalculate points after width or height change
1092
1093### refactor
1094
1095- refactor ticks filter algorithm of CartesianAxis
1096- change order of stacked BarChart and AreaChart
1097- refactor event handlers of PieChart, RadarChart, Brush, RadialBarChart
1098- support onMouseEnter, onMouseLeave, onMouseMove, onClick in categorical chart
1099
1100## 0.16.2 (Nov 04, 2016)
1101
1102### fix
1103
1104- fix dash line animation
1105- fix the bug when the children of categorical chart change
1106
1107### feat
1108
1109- support shape in ReferenceLine
1110
1111### refactor
1112
1113- render Bar, Area, Line according to the order of Bar, Area, Line in ComposedChart
1114
1115## 0.16.1 (Nov 03, 2016)
1116
1117### fix
1118
1119- refactor to treat NaN like undefined or null, fix #303
1120- fix tranform origin of Bar, fix #292
1121
1122### feat
1123
1124- support customized position of Tooltip, fix #31
1125
1126### docs
1127
1128- fix LodashModuleReplacementPlugin
1129
1130## 0.16.0 (Nov 03, 2016)
1131
1132### refactor
1133
1134- Major Performance Change - Re-Use Expensive To Generate Data
1135
1136### feat
1137
1138- support both x-axis and y-axis are numerical axis, fix #183
1139- add animation events in `Line`, `Area`, `Bar`
1140
1141### fix
1142
1143- fix angle of PolorRadiusAxis
1144
1145## 0.15.3 (Oct 28, 2016)
1146
1147### feat
1148
1149- Add angle property to PRESENTATION_ATTRIBUTES (#307)
1150
1151### Dev
1152- chore: update istanbul plugin and add yarn.lock
1153
1154## 0.15.2 (Oct 13, 2016)
1155
1156### Fix
1157
1158- support empty margin in generateCategoricalChart
1159- fix the label of RadialBarChart
1160- fix the bug of `<Text>{0}</Text>`
1161- fix the bug of ScatterChart when margin lose some attributes
1162
1163### Feat
1164
1165- support maxBarSize in BarChart and Bar
1166- support fill in CartesianGrid
1167
1168### Refactor
1169
1170- simplify the calculation of width and height when specified aspect
1171
1172## 0.15.1 (Sep 26, 2016)
1173
1174### fix
1175
1176- Fix label/tick vertical alignment of Text
1177
1178## 0.15.0 (Sep 23, 2016)
1179
1180### feat
1181
1182- New Component `Text`
1183
1184### refactor
1185
1186- Fix possible memory leak warning of events
1187
1188### fix
1189
1190- minPointSize working when value is 0
1191- Restored support for discrete values in Line and Area charts
1192- Allowed for strings to be used as axis id in the ScatterChart
1193
1194## 0.14.2 (Sep 19, 2016)
1195
1196### Fix
1197
1198- Stop caching span in memory of getStringSize
1199- Fix the bug of LineChart and ScaterChart when some data is null or undefined
1200
1201### feat
1202
1203- ScatterChart support for attributes using data and Cell
1204
1205## 0.14.1 (Sep 12, 2016)
1206
1207- Fix webpack.config.js
1208
1209## 0.14.0 (Sep 12, 2016)
1210
1211### Feat
1212
1213- allow label function to return a string
1214- Pass entry to formatter function
1215- Support labels in ScatterChart axis
1216- Add dataKey in the payload of Legend
1217- support allowDataOverflow in XAxis, YAxis, PolarRadiusAxis
1218
1219### Refactor
1220
1221- Refactor the received props of Surface
1222
1223### Fix
1224
1225- Fixed up handling of nulls for domain creation
1226- Stopped domain calculation reverting to 0 for missing data points
1227- Fix the bug of stacked areas which have yAxisId different from "0"
1228- Fix the spelling error of AniamtionDecorator
1229
1230### Docs
1231
1232- Update webpack.config.js, to support AMD
1233
1234## 0.13.4 (Aug 24, 2016)
1235
1236### Feat
1237
1238- Add cartesian Component ReferenceArea
1239
1240### Refactor
1241
1242- Refactor ResponsiveContainer and support minHeight, minWidth, aspect in ResponsiveContainer
1243
1244### Fix
1245
1246- Fix the position of Bar for charts which have multiple y-axes
1247
1248## 0.13.3 (Aug 17, 2016)
1249
1250### Feat
1251
1252- Support the functionality that syncs multiple categorical charts when mouse enter, move, leave a chart, or when change the brush of one chart
1253
1254### Fix
1255
1256- Fix the bug of stack offset function - "sign"
1257- Fix the propTypes or legendType
1258
1259## 0.13.2 (Aug 15, 2016)
1260
1261### Feat
1262
1263- Add an option "sign" to the props stackOffset in BarChart and AreaChart which allows the bars and areas to be stacked according to the sign of value.
1264
1265### Fix
1266
1267- Fix the the bug of legend in ScatterChart and refactor symbols.
1268
1269## 0.13.1 (Aug 08, 2016)
1270
1271### Fix
1272
1273- Fix the bug that tooltip did not show up for pie chart while using nameKey and valueKey
1274
1275### Refactor
1276
1277- Refactor Brush as controlled component
1278
1279## 0.13.0 (Aug 03, 2016)
1280
1281### Fix
1282
1283- Ensured all tooltip-related state gets reset upon receiving new data for all the charts
1284
1285### feat
1286
1287- Support smooth curve in Scatter
1288- Support props connectNulls in Area, Line, and Curve,
1289
1290### refactor
1291
1292- Refactor animation of Area
1293
1294## 0.12.8 (Aug 01, 2016)
1295
1296### fix
1297
1298- Fix the bug of getTicksOfScale
1299- Fix the bug of radius of ClipPath is so small that some texts of Pie is covered
1300
1301## 0.12.7 (July 25, 2016)
1302
1303### feat
1304
1305- Add itemSorter to tooltips
1306- add props allowDecimals in XAxis and YAxis
1307
1308## 0.12.6 (July 21, 2016)
1309
1310### feat
1311
1312- Support Tooltip of RadarChart
1313
1314### fix
1315
1316- Fix the initial value of state isAnimationFinished in Line and Area
1317- Fix the spelling error, pressentation => presentation (CartesianAxis)
1318- Tweak text in RadarSpec
1319
1320## 0.12.5 (July 12, 2016)
1321
1322### feat
1323
1324- Add paddingAngle in Pie, fix #142
1325
1326### deps
1327
1328- update version of react, fix #138, fix #103
1329
1330## 0.12.4 (July 8, 2016)
1331
1332### fix
1333
1334- Fix the bug of calculation accuracy in IE(Sector)
1335- Remove unneed props "formatter" in Area and Bar
1336- Fix props which can be supported by html tags and svg tags
1337
1338### refactor
1339
1340- Support multiple activeIndex in Pie
1341
1342### deps
1343
1344- Update d3-scale and d3-shape to the latest version
1345- Update version of react-smooth and recharts-scale
1346- Restrict the version of react to '~15.1.0'
1347
1348## 0.12.3 (June 30, 2016)
1349
1350### fix
1351
1352- Fix the bug that no animation when data change, but points of Line are the same
1353
1354### refactor
1355
1356- Remove xAxisMap and yAxisMap in ReferenceDot and ReferenceLine
1357
1358## 0.12.2 (June 29, 2016)
1359
1360### feat
1361
1362- Add margin props in Sankey to avoid outer-clip
1363- Add shape props in ReferenceDot
1364
1365### fix
1366
1367- Fix the width and height of wrapper
1368
1369## 0.12.1 (June 24, 2016)
1370
1371### fix
1372
1373- Fix the bug with a hack method that global css will affect the width and height of Legend, Tooltip
1374
1375## 0.12.0 (June 23, 2016)
1376
1377### feat
1378
1379- Add padding in XAxis and YAxis
1380- Support minPointSize in Bar
1381- Support "dataMin - 110" and "dataMax + 100" in the domain of numeric axis
1382
1383### refactor
1384
1385- Refactor Treemap, change ratio to aspectRatio
1386
1387### fix
1388
1389- Fix the bug of axisId in BarChart
1390- Fix the bug of tooltip's position in BarChart
1391- Fix PropTypes of `type` in `Area`
1392
1393## 0.11.0 (June 17, 2016)
1394
1395### feat
1396
1397- Add Sankey
1398
1399### fix
1400
1401- Fix the bug of Area when the data break off in some points
1402- Fix the bug of ticks when 0 in ticks
1403
1404### refactor
1405
1406- Refactor the payload of tooltip, and the props of activeDot in AreaChart
1407
1408## 0.10.10 (June 13, 2016)
1409
1410### fix
1411
1412- Fix the position of labels in Bar
1413
1414## 0.10.9 (June 12, 2016)
1415
1416### refactor
1417
1418- Use react-container-dimensions to refactor ResponsiveContainer, close #104, close #105
1419
1420## 0.10.8 (June 2, 2016)
1421
1422### feat
1423
1424- Support any svg elements in the charts, such as defs, linearGradient
1425
1426## 0.10.7 (May 30, 2016)
1427
1428### fix
1429
1430- Fix the bug of Brush when data or the size of container changes.
1431
1432## 0.10.6 (May 25, 2016)
1433
1434### feat
1435
1436- Add customized event handlers in BarChart
1437- Add curveMonotoneX and curveMonotoneY in Curve and Line
1438- Pass stackOffset type as an optional parameter for categorical chart
1439- Add `isFront` in ReferenceLine and ReferenceDot to support auxiliary information at differents z-index
1440
1441### fix
1442
1443- Fix legend position with margin
1444
1445## 0.10.5 (May 9, 2016)
1446
1447### feat
1448
1449- Support more interpolations in Curve, Line
1450- Allow to set custom tick formatter function for Brush start/end index
1451
1452## 0.10.4 (May 5, 2016)
1453
1454### feat
1455
1456- support animation when data update
1457
1458### refactor
1459
1460- refactor event handlers in charts
1461
1462### fix
1463
1464- fix tooltip position in BarChart
1465
1466## 0.10.3 (May 4, 2016)
1467
1468### fix
1469
1470- fix bug of ReactUtils in Firefox 31
1471
1472## 0.10.2 (May 4, 2016)
1473
1474### refactor
1475
1476- refactor data in Pie which was modified internally
1477
1478## 0.10.1 (April 27, 2016)
1479
1480### feat
1481
1482- Support Tooltip in Treemap
1483
1484### fix
1485
1486- Rename `Symbol` to `Symbols`
1487- Fix the key of `activeDot` in `AreaChart`
1488
1489## 0.10.0 (April 21, 2016)
1490
1491### refactor
1492
1493- Refactor *ticks* specified in `XAxis`, `YAxis`
1494- Use area of `Symbol` to show the size of number in ScatterChart
1495- Refactor the `activeShape` in `Scatter`
1496
1497### feat
1498
1499- Add `Symbol` and support different `Symbol` in ScatterChart
1500
1501### fix
1502
1503- Fix the content of legend in `PieChart`
1504- Fix the crush bug when categorical axis has duplicate labels
1505- Fix the bug of calculating tick width
1506
1507## 0.9.3 (April 12, 2016)
1508
1509### deps
1510
1511- Update react-smooth to 0.1.4
1512
1513## 0.9.2 (April 12, 2016)
1514
1515### deps
1516
1517- Update react to 15.0.0
1518
1519## 0.9.1 (April 8, 2016)
1520
1521### fix
1522
1523- Fix the bug of bar animation
1524
1525### deps
1526
1527- update version of rechats-scale, and babel-eslint
1528
1529## 0.9.0 (April 7, 2016)
1530
1531### refactor
1532
1533- Remove default event handler in Pie, and add `activeIndex` to let user control the active sector
1534- Remove detectElementResize
1535- Add activeDot in Line and Area
1536
1537### fix
1538
1539- Fix the bug of updating line when the length of line is zero at first
1540- Fix the base value of AreaChart which was set to be 0 before
1541
1542## 0.8.8 (March 25, 2016)
1543
1544### refactor
1545
1546- Support fixed value of width or height in ResponsiveContainer
1547
1548## 0.8.7 (March 21, 2016)
1549
1550### refactor
1551
1552- Don't overwrite payload in Legend when customized payload has been setted
1553
1554## 0.8.6 (March 09, 2016)
1555
1556### refactor
1557
1558- Use detectElementResize in react-virtualized to refactor ResponsiveContainer
1559
1560### fix
1561
1562- Fix ssr render bug of CartesianAxis
1563
1564## 0.8.5 (March 08, 2016)
1565
1566### feat
1567
1568- Add support of function type customized element
1569
1570### fix
1571
1572- fix the props labelLine in Pie
1573- fix the bug of PureRender
1574
1575### test
1576
1577- Add more test cases
1578
1579## 0.8.4 (March 02, 2016)
1580
1581### refactor
1582
1583- Refactor the implementation type of renderPolygon in `Radar`
1584- Refactor code in `Treemap`
1585- Remove `invariant` and add `LogUtils`
1586
1587### feat
1588
1589- Add animation of Area, Radar, RadialBar, Scatter
1590- Add label formatter to default tooltip
1591- Add props labelLine in `Pie`
1592- Add Cell of `Pie` to set different options for each sector
1593- Add Cell support in `Bar`, `RadialBar`
1594
1595### fix
1596
1597- Fix Pie chart Label position, When using custom label It was not rendering as part of the curve group.
1598- Fix `isAnimationActive` props in `Area`
1599
1600## 0.8.3 (February 25, 2016)
1601
1602### refactor
1603- refactor CartesianChart to a high order component, move some function to /util/CartesianUtils which can be used in ScatterChart.
1604- Simplify ComposedChart, remove duplicated code
1605- use `filterEventAttributes` to add events props
1606- cancel selecting line and area in LineChart, AreaChart, ComposedChart
1607
1608## 0.8.2 (February 24, 2016)
1609
1610### fix
1611- rollback last fix of Line animation from value
1612
1613## 0.8.1 (February 24, 2016)
1614
1615### fix
1616- fix the bug of Line animation from value
1617
1618## 0.8.0 (February 22, 2016)
1619
1620### feat
1621- implement ReferenceDot in cartesian charts
1622- support alwaysShow of ReferenceLine and ReferenceDot
1623
1624### refactor
1625- refactor domain of CartesianAxis and PolarRadiusAxis
1626- refactor this props name in ReferenceLine
1627
1628### fix
1629- fix the bug of calculate extent in RadarChart
1630- fix some bugs of server side rendering when document is called
1631
1632
1633## 0.7.0 (February 17, 2016)
1634
1635### UI
1636- feat: support dasharray line animation
1637- refactor(CartesianAxis, PolarAngleAxis, PolarRadiusAxis):rename label to tick
1638- feat(label): add label of CartesianAxis, PolarRadiusAxis, ReferenceLine
1639- feat: Implement tooltip for PieChart
1640- feat:Implement tooltip for RadialBarChart
1641- deps(d3-scale,d3-shape,oui-dom-util): 1.update version of d3-scale, d3-shape, oui-dom-util 2.update some api of d3-scale
1642
1643## 0.6.3 (February 10, 2016)
1644
1645### UI
1646- refactor(Legend): refactor the location of legend
1647- fix(CartesianChart,CartesianAxis): 1. fix the bug of dataStartIndex && dataEndIndex when the length of data was changed 2. fix the default value of tickFormatter
1648- fix(cartesian/Line.js): fix Line animation bug
1649
1650## 0.6.2 (February 9, 2016)
1651
1652### UI
1653- feat: use lodash `isEqual` write new pureRender
1654
1655## 0.6.1 (February 5, 2016)
1656
1657### UI
1658- fix(Pie, RadialBarChart): fix the default value of cx, cy, innerRadius, outerRadius
1659
1660## 0.6.0 (February 5, 2016)
1661
1662### UI
1663- refactor: rename AdaptionWrapper to ResponsiveContainer
1664- refactor: delete some repeated codes, and use polarToCartesian in PolarUtils
1665- fix: update the defaultProps of cx, cy, innerRadius, outerRadius
1666- fix(Sector, AdaptionWrapper):1. fix the bug of Sector when innerRadius is 0 2. fix the bug of unbind event when component is unmounted
1667- feat(util): use lodash replace utils
1668
1669## 0.5.2 (February 4, 2016)
1670
1671### UI
1672- fix(RadarChart): fix the bug of unreasonable default value for radius in PolarAngleAxis
1673
1674### Docs
1675- chore: change main and jsnext:main in package.json
1676
1677## 0.5.1 (February 4, 2016)
1678
1679### UI
1680- feat: support percentage string in the props(cx, cy, innerRadius, outerRadius) of RadarChart, PieChart, RadialChart
1681- fix(PolarRadiusAxis): add props domain
1682- refactor(CartesianAxis): remove unneeded props domain
1683
1684### Docs
1685- chore: optimize npm script commands
1686- chore: update pkg
1687
1688## 0.5.0 (February 3, 2016)
1689
1690### UI
1691- feat(AdaptionWrapper): add AdaptionWrapper to make charts adapt to the size of parent dom
1692- refactor: directory structure adjustment
1693- fix(LineChart, CartesianChart): 1.fix the bug of margin when only part of the attributes are specified 2.fix the bug of number axis when domain is specified 3.fix the bug of category number when no dataKey is specified 4.format the code in README.md
1694- refactor(treemap): support tree structure data; changed props that pass to shape
1695
1696### Test
1697- test: 1.rename some test files 2.add test case of LodashUtil
1698- test(treemap): modified treemap test
1699
1700### Docs
1701- deps: add dependence oui-dom-utils
1702- chore(README.md): add syntax highlighting to the readme
1703- chore(package.json): add keyword react-component
1704
1705## 0.4.9 (February 2, 2016)
1706
1707### UI
1708- refactor(CartesianAxis, PolarAngleAxis): change props name "orient" to "orientation"
1709- refactor(Line, Bar, Pie): refactor animation using new react-smooth
1710- refactor(Pie, RidalBar): remove the props clockWise, and add the props endAngle
1711### Test
1712- test(Line, Bar, Radar, Scatter): add test case
1713
1714## 0.4.7 (February 1, 2016)
1715
1716### UI
1717- refactor(RadarChart, Radar, PolarAngleAxis, PolarRadiusAxis): refactor the components of Radar
1718- refactor(classNames): refactor the method of package a className
1719- refactor(Pie): add nameKey in Pie
1720
1721## 0.4.6 (January 29, 2016)
1722
1723### UI
1724- refactor(Legend): refactor the legend in all the charts, change the location method of legend
1725- feat(radar): add new RadarChart with the new component used in Chart, like PolarAngleAxis PolarRadiusAxis PolarGrid Polygon ex
1726
1727### Test
1728- feat(test): add test for charts, chartWrappers, components, and shapes
1729
1730## 0.4.5 (January 29, 2016)
1731
1732### UI
1733- fix(Curve): fix the bug of curve defined function
1734- fix(ComposedChart): fix the bug of bar position when a line and a bar display a same group of data.
1735- chore(webpack.config.js): add react, react-dom, react-dom-server to external
1736- deps(react, react-dom): update version to v0.14.7
1737
1738## 0.4.4 (January 28, 2016)
1739
1740### Dev
1741- chore(webpack.config.js): add build command
1742
1743## 0.4.3 (January 28, 2016)
1744
1745### UI
1746- deps(recharts-scale, react-smooth): update version of recharts-scale and react-smooth
1747- refactor(Bar, RadialBar, TreemapChart, Tooltip): rename the props customContent
1748
1749## 0.4.2 (January 28, 2016)
1750
1751### UI
1752- Add support of stack value in BarChart, AreaChart, ComposedChart
1753
1754## 0.4.1 (January 27, 2016)
1755
1756### UI
1757- Change name of the props in Tooltip, Legend
1758- Fix the bug of customized label element in CartesianAxis
1759- Remove repeated, meaningless constructor functions
1760
1761## 0.4.0 (January 26, 2016)
1762
1763### UI
1764- Refactor some components, include CartesianAxis, Legend, Tooltip etc, to unify some props name.
1765