UNPKG

30.7 kBMarkdownView Raw
1## 1.4.2(Dec 21,2018)
2
3### refactor
4
5- Refactor transition of <Area />, <Line />, <Radar />, make transition more smoothly when the length of dataset changes
6
7### fix
8
9- replace lodash isFinite with Number.isFinite, meanwhile add polyfill core-js's Number polyfill in order to use Number.usFinite directly
10- updated area chart to cut off dots on left most axis
11
12## 1.4.1(Nov 16, 2018)
13
14### fix
15
16- Fix height of TreeMap
17
18## 1.4.0(Nov 15, 2018)
19
20### feat
21
22- Add FunnelChart and Trapezoid
23- Add nested Treemap
24
25## 1.3.6(Nov 07, 2018)
26
27### fix
28
29- Fix bug preventing use of functions or custom components for the Bar background prop
30- Fix incorrect sort logic in stripe rendering
31
32### feat
33
34- Added animateNewValues property to Line
35
36## 1.3.5(Oct 25, 2018)
37
38### fix
39
40- use lodash _.values instead of Object.values
41- perfer YAxis which has finite domain and nice ticks when a chart has many YAxes
42- fix <Area /> for expected length height attribute
43
44### chore
45
46- add babel-plugin-lodash in babelrc
47- update webpack.config.js to remove sourceMap in umd/Recharts.min.js
48
49## 1.3.4(Oct 13, 2018)
50
51### fix
52
53- Fix domain calculation with 0 values (#1519)
54
55## 1.3.3(Oct 10, 2018)
56
57### feat
58
59- find yAxisWithNiceTicks and choose it over getAnyElementOfObject
60
61### fix
62
63- update recharts-scale to 0.4.2 to fix bug of DecimalError when data is Inifinity, fix #1493
64
65## 1.3.2(Oct 07, 2018)
66
67### fix
68
69- Fix axis type error
70- Fix add sideEffects flag to enable tree-shaing
71
72## 1.3.1(Sep 29, 2018)
73
74### fix
75
76- Fix the react-resize-detector don't match react 15
77
78## 1.3.0(Sep 28, 2018)
79
80### feat
81
82- upgrade recharts-scale to 0.4.0, to fix the calculation of big float
83
84## 1.2.0(Sep 7, 2018)
85
86### feat
87
88- Add blendStroke prop to Pie component
89- Adding contentStyle prop to Tooltip for styling DefaultTooltipContent
90
91### fix
92
93- Fixed typo of playload -> payload in Radar chart
94- Fix PieChart animation event handlers not firing
95- Fix alwaysShow warn() condition in ReferenceLine
96- Fix Tooltip disappears when using setState()
97
98## 1.1.0(Jul 19, 2018)
99
100### feat
101
102- Allow reference areas which extend past the canvas bounds
103- Allow to add more classes in tooltips
104- Reference line segment by specifying a pair of
105 endpoints
106
107## 1.0.1(Jul 05, 2018)
108
109### fix
110
111- only use babel-es in es6/, fix #1372
112
113## 1.0.0(Jul 05, 2018)
114
115### fix
116
117- #1195 Replace axis scale value `utcTime` with `utc`
118- remove wrapperStyle on DefaultTooltipContent
119- Clip dots of <Line />
120- Move style spread to after default styles to allow overriding
121- Fixing range area chart bottom bound. Base line needed to be filterted for connecting
122 null
123- Fix tooltips that disappear while mouse still over a scatter point
124
125### refactor
126
127- use lodash-es for es6 build
128- Factor out some scale- and rect-related functions
129
130### feat
131
132- Add touchStart & touchEnd event handling
133- Add explicit prop `defaultShowTooltip` to activate tooltip
134- Position the 'top' label outside the element for negative heights
135
136## 1.0.0-beta.10(Jan 31, 2018)
137
138### fix
139
140- fix Scatter Chart:lineType 'fitting' does not work
141- Update to allow CSP compliance on setting styles
142- Remove react-transition-group from peerDependencies
143
144### refactor
145
146- Replace flatmap of reduce to _.flatmap in getDomainOfDataByKey
147
148### feat
149
150- Add the gap of props for brush
151
152## 1.0.0-beta.9(Jan 09, 2018)
153
154### fix
155
156- Fix `verticalFill` and `horizontalFill` in `<CartesianGrid />` when points are unordered
157
158## 1.0.0-beta.8(Jan 09, 2018)
159
160### feat
161
162- Add props `useTranslate3d` to control whether use translate3d or translate in <Tooltip />
163- Add props `verticalFill` and `horizontalFill` in `<CartesianGrid />` to show grid background
164- Add `visibleTicksCount` in props of customized tick of `<CartesianAxis />`
165
166### fix
167
168- Replace lodash _.get with simple Array.prototype.find
169- Prevent texts from being selected when dragging the brush
170- Add try...catch... when getTotalLength is called by a svg path to fix IE bug
171
172## 1.0.0-beta.7(Dec 21, 2017)
173
174### feat
175
176- Add props `allowDuplicatedCategory` to XAxis, YAxis, PolarAngleAxis, PolarRadiusAxis, to remove duplicated category when type="category"
177- Add props id in `<Area />`, `<Bar />`, `<Line />`, `<Scatter />`, `<Label />`, `<LabelList />` for SSR
178- Support specify domain of category type axis when allowDuplicatedCategory is false, add cooresponding "xAis", "yAxis", "zAxis" to the props or customized shape of Scatter
179
180### fix
181
182- Fx sanketartAngle and endAngle of RadarChart diagram not re-rendering when updating data prop
183- Fix animation of AreaChart when baseLine is NaN / undefined
184- Fix default startAngle and endAngle of RadarChart
185- Use cloneElement to create Legend
186
187## 1.0.0-beta.6(Dec 02, 2017)
188
189### feat
190
191- Add props `background` to support background rectange in `<Bar />`
192- add props `tickMargin` which set the space between text and tick line
193
194### fix
195
196- update PRESENTATION_ATTRIBUTES to allow set the radius of each `<Rectangle />` of BarChart
197- render Legend when all values of Pie is 0
198- fix animation of intial `<Bar />`
199
200## 1.0.0-beta.5(Nov 24, 2017)
201
202### fix
203
204- fix `isChildrenEqual` when chart has a single child in an array
205- support LabelList in ScatterChart
206
207## 1.0.0-beta.4(Nov 24, 2017)
208
209### fix
210
211- fix Label when content is a function and return simple string
212- add name to propTypes of Scatter
213- fix ** error of lib/
214
215## 1.0.0-beta.3(Nov 23, 2017)
216
217### feat
218
219- Add datakey to proops of customized dot
220
221### fix
222
223- Removed the use of `Children.only` from the isSingleChildEqual call. Appears to resolve the issue logged at https://github.com/recharts/recharts/issues/935
224- Fix Line Animation with given Magic Number
225- Don't break text contents on non-breaking spaces
226- Support for "strokeDasharray" in <Legend/>
227- Fix Bar Animation with the given Magic Number
228- Fix position of `<Label />`
229- Fix exception of AreaChart when all the values are null
230- Fix the orders of polar angle ticks in RadarChart
231- Replace ** width Math.pow
232
233## 1.0.0-beta.2(Nov 17, 2017)
234
235### fix
236
237- fix attributes order of `<Label />`
238- fix the domain of Axis when specify `ticks`
239
240### feat
241
242- allow set x, y, width, height, horizontalPoints, verticalPoints of CartesianGrid
243- add props to the parameters of callbacks
244
245### refactor
246
247- add id prop to Pie Component
248- Update Bar and Line to allow them to recognise multiple ErrorBars
249
250## 1.0.0-beta.1(Nov 06, 2017)
251
252### feat
253
254- Add index to line props in Pie
255- Update ReferenceDot.js
256
257### chore
258
259- update react-resize-detector, react-smooth to support react16
260
261## 1.0.0-beta.0(Oct 24, 2017)
262
263### feat
264
265- Allow ReferenceArea to cover available space
266- Support React 16
267
268### fix
269
270- Fix bug of animation when toggle the value of `isAnimationActive`
271
272## 1.0.0-alpha.6(Oct 10, 2017)
273
274### feat
275
276- Add props `reverseStackOrder` to reverse the order of stacked items
277- Allow an arbirary domain for cartesian X and Y axes
278- Added className prop for Label
279
280### fix
281
282- Fix confused parameter `startX` in `<Brush />`
283- Fix ScatterChart when the type of XAxis is "category"
284
285### docs
286
287- Fix typo initilaState -> initialState
288
289
290## 1.0.0-alpha.5(Sep 16, 2017)
291
292### fix
293
294- Don't check for animation when it is disabled
295- fix bug of paddingAngle when isAnimationActive is true
296
297### feat
298
299- add props filterNull to `Tooltip`, null values will not be filtered when filterNull = false
300
301### refactor
302
303- Allowing length in different unit in ResponsiveContainer
304 By allowing type: String on 'minHeight', 'minWidth', 'maxHeight' property, developers can use length in different units like em, pt etc.
305- Render curve with fill first in Area
306
307
308### dep
309
310- remove react-transition-group in peer dependencies
311- Updates resize-detector to 0.6, close #705, fix the problem with strange scrollbars appearing over the charts
312
313## 1.0.0-alpha.4(Aug 21, 2017)
314
315### fix
316
317- Fix error 'Cannot read property 'map' of undefined' in Pie
318- Fix bug of parsing the width of Brush
319- Don't render any path when width === 0 || height === 0 in Rectangle
320### refactor
321
322- Avoid calculating ticks if tick is set to false
323- Update the order of parsing data in mixed components
324
325### feat
326
327- Render unit when the props unit of XAxis, YAxis is specified
328- Add default nameKey to "name" property in Pie
329- Add props className and id to ResponsiveContainer
330
331### dep
332
333- Update recharts-scale to fix bug of ticks
334
335## 1.0.0-alpha.3(Aug 12, 2017)
336
337### fix
338
339- fix bug of isChildrenEqual
340- fix "hide" props of YAxis
341
342## 1.0.0-alpha.2(Jul 10, 2017)
343
344### feat
345
346- Add props className to ReferenceLine, ReferenceDot, ReferenceArea
347- Specify the contents of LabelList by `dataKey`
348
349### fix
350
351- Fix faulty logic check in inRange function
352- onTouchMove event call method that handle tooltip and active dot draw
353- Show tooltip on drag movement on touch devices
354- Fix viewBox of Label when render implicit label
355- Fix label of Pie
356- Fix events of Pie and PieChart
357- Fix bug of interplateNumber
358- Fix the bug of parsing "dataMin - 0.05" like domain
359
360## 1.0.0-alpha.1(Jun 11, 2017)
361
362### fix
363
364- update the propType of the props data or Bar
365- fix the type of Curve
366- fix connectNulls of `Line`
367- update version of recharts-scale to fix #713
368- fix valueKey of Pie temporarily and add logs when use deprecated "valueKey"
369- bind events to Radar
370- fix animation of active-dot
371
372## 1.0.0-alpha.0(May 24, 2017)
373
374### refactor
375
376- refactor PolarCharts
377- refactor Animation
378- refactor Label and LabelLis
379
380### fix
381
382- fix scale of ErrorBar
383
384## 0.22.4 (Apr 26, 2017)
385
386### fix
387
388- fix dot customized className
389
390### dep
391
392- update react-smooth, and react-transition-group
393
394## 0.22.3 (Apr 19, 2017)
395
396### refactor
397
398- add mathSign in DataUtils to replace Math.sign
399
400## 0.22.2 (Apr 18, 2017)
401
402### fix
403
404- fix spelling error of fillOpacity
405- fix bug of axis when has duplicated ticks
406
407
408## 0.22.1 (Apr 13, 2017)
409
410### feat
411
412- Add legendType: ‘none’ to not render coresponding legend item
413- use prop-types instead of React.PropTypes
414
415### fix
416
417- Fix re-rendering element bug when adding new elements
418- Fix circular dependence of Brush.js and LineChart.js
419
420## 0.22.0 (Apr 05, 2017)
421
422### feat
423
424- Add event handlers to component Dot
425- Support embedded chart as a panoram in Brush
426- Add props reversed to `XAxis` and `YAxis` to reverse the range of axis
427
428### fix
429
430- Fix error or time scale
431
432## 0.21.2 (Mar 01, 2017)
433
434### fix
435
436- fix ticks for specified domain
437
438## 0.21.1 (Feb 28, 2017)
439
440### fix
441
442- Update recharts-scale to fix bug of ticks
443
444## 0.21.0 (Feb 28, 2017)
445
446### feat
447
448- Support band area and band bar
449- support customized horizontal line and vertical line in CartesianGrid
450- support customized events in ReferenceArea, ReferenceLine
451- add formatter in `Legend`
452
453### fix
454
455- Fix empty tick when category axis has nil values
456- fix the propTypes of fontSize
457- support props dx and dy in Text
458- fix bug of stacked bar when spcify domain of axis
459- fix the barSize of bars in `<Bar />` when too many bars
460
461## 0.20.8 (Feb 15, 2017)
462
463### fix
464
465- Fix bug when onBBoxUpdate of Legend is null
466
467## 0.20.7 (Feb 15, 2017)
468
469### fix
470
471- Fix stack chart when only have one stacked element
472- Fix the offset when the boundary box update
473- Fix position of XAxis in ScatterChart when the orientation is right
474- Use DataUtils.uniqueId to replace lodash.uniqueId
475
476### feat
477
478- Add props `mirror` in XAxis and YAxis, support mirror ticks
479- Add props iconType to the props of Legend which can specify the icon type of legend
480
481## 0.20.6 (Feb 08, 2017)
482
483### fix
484
485- Fix `dataStartIndex` and `dataEndIndex` of synchronized chart
486- Use lodash.uniqueId to produce the id of Pie
487
488## 0.20.5 (Jan 17, 2017)
489
490### fix
491
492- fix "Maximum call stack size exceeded error" caused by Tooltip update
493
494## 0.20.4 (Jan 17, 2017)
495
496### fix
497- Animate of Tooltip may crash browser sometimes, use style transition to do the animation of tooltip
498
499## 0.20.3 (Jan 17, 2017)
500
501### fix
502
503- Fix Tooltip in ScatterChart
504- Fix radius of Rectangle when height < 0
505
506### feat
507
508- Add clip path in Area, Bar and Scatter
509- Add onMouseDown and onMouseUp hooks in generateCategoricalChart
510
511### chore
512
513- Disable babel transform es2015 modules to commonjs for es6 build
514- Use cross-env to support windows builds, likewise downgrade linebreak-style to warning
515- Update release.sh
516
517## 0.20.2 (Jan 05, 2017)
518
519### fix
520
521- remove opacity in ErrorBar
522- fix `Tooltip` when `coordinate` is null
523
524### feat
525
526- add props `basevalue` in `AreaChart`
527- add clipPath when xAxis or yAxis of `Line` allow data overflow
528- allow dataKey to be a map function
529- support Tooltip in Sankey and Tooltip
530- Allow Brush to set default startIndex and endIndex
531
532## 0.20.1 (Dec 27, 2016)
533
534### fix
535
536- Fix bug of `isChildrenEqual` when component has child `null`
537- Adjust `barGap` when `bandSize` is too small to display bars
538
539
540### feat
541
542- Add props `payload` and `value`, update props `index` in `activeDot` of `Line`, `Area`
543
544### refactor
545
546- Move polyfill of `Math.sign` to polyfill.js
547
548## 0.20.0 (Dec 26, 2016)
549
550### feat
551
552- Support `ErrorBar` in `Line`, `Area`, `Bar`, `Scatter`
553- Support touch event in `LineChart`, `AreaChart`, `BarChart`
554- Add props `throttleDelay` in `LineChart`, `AreaChart`, `BarChart` for performance
555- Support cornerRadius in Sector, RadialBar and Pie
556- Support events in CartesianAxis, PolarAngleAxis, PolarRadiusAxis
557- Support touch events in Brush
558
559### refactor
560
561- Use `getStringSize` to calculate the width of `Text`
562- Refactor children comparsion in `generateCategoricalChart`, and add updateId to force Brush update when children update
563- Refactor `getMouseInfo` to remove some duplicated codes in `generateCategoricalChart`
564- Refactor Tooltip and Legend, remove react-dom-server
565
566### fix
567
568- Fix the `chartId` in `handleReceiveSyncEvent` of `generateCategoricalChart`
569
570## 0.19.1(Dec 15, 2016)
571
572### fix
573
574- Adding missing event propTypes
575- support x, y of `Text` are number or text
576- fix proptypes of Scatter to allow that the props `data` can be a array of array
577- fix server side render check `isSsr`
578- remove duplicated "square" in legendType
579- fix `getStringSize` when server side rendering check fails
580- fix animation error when update Line which has props stroke-dasharray
581- fix bug of BarChart when add stackId in only one Bar and update test cases
582
583## 0.19.0 (Nov 23, 2016)
584
585### refactor
586
587- remove unneed `Animate` in `Bar` and `Rectangle`
588- refactor interval of `CartesianAxis`, support "preserveStart", "preserveEnd", "preserveStartEnd"
589- add payload in the `Tooltip` and `Scatter` of `ScatterChart`, and unify the payload of Components
590
591### feat
592
593- `RadialBar` support events triggered on the entire bar
594- support customized lable in `RadialBar`
595- support `maxHeight` in `ResponsiveContianer`
596
597### fix
598
599- fix multiple y-axes breaks chart when plotting only single datum
600- Relax propTypes.ticks in CartesianAxis
601
602## 0.18.0 (Nov 15, 2016)
603
604### feat
605
606- support customized scale function of categorical charts
607- support customized events in Legend
608
609### refactor
610
611- refactor ResponsiveContainer with ReactResizeDetector
612- change the default value of isAnimationActive
613- remove some unneed default attributes of Components
614
615### fix
616
617- fix wrong written default props
618- fix twice triggered event in Bar
619- fix treemap stroke pollution cause by defaultProps
620
621## 0.17.0 | 0.17.1 (Nov 08, 2016)
622
623### fix
624
625- fix strokeDasharray of Line
626- add payload in Legend payload item
627- fix position of vertical Legend
628- Recalculate points after width or height change
629
630### refactor
631
632- refactor ticks filter algorithm of CartesianAxis
633- change order of stacked BarChart and AreaChart
634- refactor event handlers of PieChart, RadarChart, Brush, RadialBarChart
635- support onMouseEnter, onMouseLeave, onMouseMove, onClick in categorical chart
636
637## 0.16.2 (Nov 04, 2016)
638
639### fix
640
641- fix dash line animation
642- fix the bug when the children of categorical chart change
643
644### feat
645
646- support shape in ReferenceLine
647
648### refactor
649
650- render Bar, Area, Line according to the order of Bar, Area, Line in ComposedChart
651
652## 0.16.1 (Nov 03, 2016)
653
654### fix
655
656- refactor to treat NaN like undefined or null, fix #303
657- fix tranform origin of Bar, fix #292
658
659### feat
660
661- support customized position of Tooltip, fix #31
662
663### docs
664
665- fix LodashModuleReplacementPlugin
666
667## 0.16.0 (Nov 03, 2016)
668
669### refactor
670
671- Major Performance Change - Re-Use Expensive To Generate Data
672
673### feat
674
675- support both x-axis and y-axis are numerical axis, fix #183
676- add animation events in `Line`, `Area`, `Bar`
677
678### fix
679
680- fix angle of PolorRadiusAxis
681
682## 0.15.3 (Oct 28, 2016)
683
684### feat
685
686- Add angle property to PRESENTATION_ATTRIBUTES (#307)
687
688### Dev
689- chore: update istanbul plugin and add yarn.lock
690
691## 0.15.2 (Oct 13, 2016)
692
693### Fix
694
695- support empty margin in generateCategoricalChart
696- fix the label of RadialBarChart
697- fix the bug of `<Text>{0}</Text>`
698- fix the bug of ScatterChart when margin lose some attributes
699
700### Feat
701
702- support maxBarSize in BarChart and Bar
703- support fill in CartesianGrid
704
705### Refactor
706
707- simplify the calculation of width and height when specified aspect
708
709## 0.15.1 (Sep 26, 2016)
710
711### fix
712
713- Fix label/tick vertical alignment of Text
714
715## 0.15.0 (Sep 23, 2016)
716
717### feat
718
719- New Component `Text`
720
721### refactor
722
723- Fix possible memory leak warning of events
724
725### fix
726
727- minPointSize working when value is 0
728- Restored support for discrete values in Line and Area charts
729- Allowed for strings to be used as axis id in the ScatterChart
730
731## 0.14.2 (Sep 19, 2016)
732
733### Fix
734
735- Stop caching span in memory of getStringSize
736- Fix the bug of LineChart and ScaterChart when some data is null or undefined
737
738### feat
739
740- ScatterChart support for attributes using data and Cell
741
742## 0.14.1 (Sep 12, 2016)
743
744- Fix webpack.config.js
745
746## 0.14.0 (Sep 12, 2016)
747
748### Feat
749
750- allow label function to return a string
751- Pass entry to formatter function
752- Support labels in ScatterChart axis
753- Add dataKey in the payload of Legend
754- support allowDataOverflow in XAxis, YAxis, PolarRadiusAxis
755
756### Refactor
757
758- Refactor the received props of Surface
759
760### Fix
761
762- Fixed up handling of nulls for domain creation
763- Stopped domain calculation reverting to 0 for missing data points
764- Fix the bug of stacked areas which have yAxisId different from "0"
765- Fix the spelling error of AniamtionDecorator
766
767### Docs
768
769- Update webpack.config.js, to support AMD
770
771## 0.13.4 (Aug 24, 2016)
772
773### Feat
774
775- Add cartesian Component ReferenceArea
776
777### Refactor
778
779- Refactor ResponsiveContainer and support minHeight, minWidth, aspect in ResponsiveContainer
780
781### Fix
782
783- Fix the position of Bar for charts which have multiple y-axes
784
785## 0.13.3 (Aug 17, 2016)
786
787### Feat
788
789- Support the functionality that syncs multiple categorical charts when mouse enter, move, leave a chart, or when change the brush of one chart
790
791### Fix
792
793- Fix the bug of stack offset function - "sign"
794- Fix the propTypes or legendType
795
796## 0.13.2 (Aug 15, 2016)
797
798### Feat
799
800- 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.
801
802### Fix
803
804- Fix the the bug of legend in ScatterChart and refactor symbols.
805
806## 0.13.1 (Aug 08, 2016)
807
808### Fix
809
810- Fix the bug that tooltip did not show up for pie chart while using nameKey and valueKey
811
812### Refactor
813
814- Refactor Brush as controlled component
815
816## 0.13.0 (Aug 03, 2016)
817
818### Fix
819
820- Ensured all tooltip-related state gets reset upon receiving new data for all the charts
821
822### feat
823
824- Support smooth curve in Scatter
825- Support props connectNulls in Area, Line, and Curve,
826
827### refactor
828
829- Refactor animation of Area
830
831## 0.12.8 (Aug 01, 2016)
832
833### fix
834
835- Fix the bug of getTicksOfScale
836- Fix the bug of radius of ClipPath is so small that some texts of Pie is covered
837
838## 0.12.7 (July 25, 2016)
839
840### feat
841
842- Add itemSorter to tooltips
843- add props allowDecimals in XAxis and YAxis
844
845## 0.12.6 (July 21, 2016)
846
847### feat
848
849- Support Tooltip of RadarChart
850
851### fix
852
853- Fix the initial value of state isAnimationFinished in Line and Area
854- Fix the spelling error, pressentation => presentation (CartesianAxis)
855- Tweak text in RadarSpec
856
857## 0.12.5 (July 12, 2016)
858
859### feat
860
861- Add paddingAngle in Pie, fix #142
862
863### deps
864
865- update version of react, fix #138, fix #103
866
867## 0.12.4 (July 8, 2016)
868
869### fix
870
871- Fix the bug of calculation accuracy in IE(Sector)
872- Remove unneed props "formatter" in Area and Bar
873- Fix props which can be supported by html tags and svg tags
874
875### refactor
876
877- Support multiple activeIndex in Pie
878
879### deps
880
881- Update d3-scale and d3-shape to the latest version
882- Update version of react-smooth and recharts-scale
883- Restrict the version of react to '~15.1.0'
884
885## 0.12.3 (June 30, 2016)
886
887### fix
888
889- Fix the bug that no animation when data change, but points of Line are the same
890
891### refactor
892
893- Remove xAxisMap and yAxisMap in ReferenceDot and ReferenceLine
894
895## 0.12.2 (June 29, 2016)
896
897### feat
898
899- Add margin props in Sankey to avoid outer-clip
900- Add shape props in ReferenceDot
901
902### fix
903
904- Fix the width and height of wrapper
905
906## 0.12.1 (June 24, 2016)
907
908### fix
909
910- Fix the bug with a hack method that global css will affect the width and height of Legend, Tooltip
911
912## 0.12.0 (June 23, 2016)
913
914### feat
915
916- Add padding in XAxis and YAxis
917- Support minPointSize in Bar
918- Support "dataMin - 110" and "dataMax + 100" in the domain of numeric axis
919
920### refactor
921
922- Refactor Treemap, change ratio to aspectRatio
923
924### fix
925
926- Fix the bug of axisId in BarChart
927- Fix the bug of tooltip's position in BarChart
928- Fix PropTypes of `type` in `Area`
929
930## 0.11.0 (June 17, 2016)
931
932### feat
933
934- Add Sankey
935
936### fix
937
938- Fix the bug of Area when the data break off in some points
939- Fix the bug of ticks when 0 in ticks
940
941### refactor
942
943- Refactor the payload of tooltip, and the props of activeDot in AreaChart
944
945## 0.10.10 (June 13, 2016)
946
947### fix
948
949- Fix the position of labels in Bar
950
951## 0.10.9 (June 12, 2016)
952
953### refactor
954
955- Use react-container-dimensions to refactor ResponsiveContainer, close #104, close #105
956
957## 0.10.8 (June 2, 2016)
958
959### feat
960
961- Support any svg elements in the charts, such as defs, linearGradient
962
963## 0.10.7 (May 30, 2016)
964
965### fix
966
967- Fix the bug of Brush when data or the size of container changes.
968
969## 0.10.6 (May 25, 2016)
970
971### feat
972
973- Add customized event handlers in BarChart
974- Add curveMonotoneX and curveMonotoneY in Curve and Line
975- Pass stackOffset type as an optional parameter for categorical chart
976- Add `isFront` in ReferenceLine and ReferenceDot to support auxiliary information at differents z-index
977
978### fix
979
980- Fix legend position with margin
981
982## 0.10.5 (May 9, 2016)
983
984### feat
985
986- Support more interpolations in Curve, Line
987- Allow to set custom tick formatter function for Brush start/end index
988
989## 0.10.4 (May 5, 2016)
990
991### feat
992
993- support animation when data update
994
995### refactor
996
997- refactor event handlers in charts
998
999### fix
1000
1001- fix tooltip position in BarChart
1002
1003## 0.10.3 (May 4, 2016)
1004
1005### fix
1006
1007- fix bug of ReactUtils in Firefox 31
1008
1009## 0.10.2 (May 4, 2016)
1010
1011### refactor
1012
1013- refactor data in Pie which was modified internally
1014
1015## 0.10.1 (April 27, 2016)
1016
1017### feat
1018
1019- Support Tooltip in Treemap
1020
1021### fix
1022
1023- Rename `Symbol` to `Symbols`
1024- Fix the key of `activeDot` in `AreaChart`
1025
1026## 0.10.0 (April 21, 2016)
1027
1028### refactor
1029
1030- Refactor *ticks* specified in `XAxis`, `YAxis`
1031- Use area of `Symbol` to show the size of number in ScatterChart
1032- Refactor the `activeShape` in `Scatter`
1033
1034### feat
1035
1036- Add `Symbol` and support different `Symbol` in ScatterChart
1037
1038### fix
1039
1040- Fix the content of legend in `PieChart`
1041- Fix the crush bug when categorical axis has duplicate labels
1042- Fix the bug of calculating tick width
1043
1044## 0.9.3 (April 12, 2016)
1045
1046### deps
1047
1048- Update react-smooth to 0.1.4
1049
1050## 0.9.2 (April 12, 2016)
1051
1052### deps
1053
1054- Update react to 15.0.0
1055
1056## 0.9.1 (April 8, 2016)
1057
1058### fix
1059
1060- Fix the bug of bar animation
1061
1062### deps
1063
1064- update version of rechats-scale, and babel-eslint
1065
1066## 0.9.0 (April 7, 2016)
1067
1068### refactor
1069
1070- Remove default event handler in Pie, and add `activeIndex` to let user control the active sector
1071- Remove detectElementResize
1072- Add activeDot in Line and Area
1073
1074### fix
1075
1076- Fix the bug of updating line when the length of line is zero at first
1077- Fix the base value of AreaChart which was set to be 0 before
1078
1079## 0.8.8 (March 25, 2016)
1080
1081### refactor
1082
1083- Support fixed value of width or height in ResponsiveContainer
1084
1085## 0.8.7 (March 21, 2016)
1086
1087### refactor
1088
1089- Don't overwrite payload in Legend when customized payload has been setted
1090
1091## 0.8.6 (March 09, 2016)
1092
1093### refactor
1094
1095- Use detectElementResize in react-virtualized to refactor ResponsiveContainer
1096
1097### fix
1098
1099- Fix ssr render bug of CartesianAxis
1100
1101## 0.8.5 (March 08, 2016)
1102
1103### feat
1104
1105- Add support of function type customized element
1106
1107### fix
1108
1109- fix the props labelLine in Pie
1110- fix the bug of PureRender
1111
1112### test
1113
1114- Add more test cases
1115
1116## 0.8.4 (March 02, 2016)
1117
1118### refactor
1119
1120- Refactor the implementation type of renderPolygon in `Radar`
1121- Refactor code in `Treemap`
1122- Remove `invariant` and add `LogUtils`
1123
1124### feat
1125
1126- Add animation of Area, Radar, RadialBar, Scatter
1127- Add label formatter to default tooltip
1128- Add props labelLine in `Pie`
1129- Add Cell of `Pie` to set different options for each sector
1130- Add Cell support in `Bar`, `RadialBar`
1131
1132### fix
1133
1134- Fix Pie chart Label position, When using custom label It was not rendering as part of the curve group.
1135- Fix `isAnimationActive` props in `Area`
1136
1137## 0.8.3 (February 25, 2016)
1138
1139### refactor
1140- refactor CartesianChart to a high order component, move some function to /util/CartesianUtils which can be used in ScatterChart.
1141- Simplify ComposedChart, remove duplicated code
1142- use `filterEventAttributes` to add events props
1143- cancel selecting line and area in LineChart, AreaChart, ComposedChart
1144
1145## 0.8.2 (February 24, 2016)
1146
1147### fix
1148- rollback last fix of Line animation from value
1149
1150## 0.8.1 (February 24, 2016)
1151
1152### fix
1153- fix the bug of Line animation from value
1154
1155## 0.8.0 (February 22, 2016)
1156
1157### feat
1158- implement ReferenceDot in cartesian charts
1159- support alwaysShow of ReferenceLine and ReferenceDot
1160
1161### refactor
1162- refactor domain of CartesianAxis and PolarRadiusAxis
1163- refactor this props name in ReferenceLine
1164
1165### fix
1166- fix the bug of calculate extent in RadarChart
1167- fix some bugs of server side rendering when document is called
1168
1169
1170## 0.7.0 (February 17, 2016)
1171
1172### UI
1173- feat: support dasharray line animation
1174- refactor(CartesianAxis, PolarAngleAxis, PolarRadiusAxis):rename label to tick
1175- feat(label): add label of CartesianAxis, PolarRadiusAxis, ReferenceLine
1176- feat: Implement tooltip for PieChart
1177- feat:Implement tooltip for RadialBarChart
1178- 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
1179
1180## 0.6.3 (February 10, 2016)
1181
1182### UI
1183- refactor(Legend): refactor the location of legend
1184- fix(CartesianChart,CartesianAxis): 1. fix the bug of dataStartIndex && dataEndIndex when the length of data was changed 2. fix the default value of tickFormatter
1185- fix(cartesian/Line.js): fix Line animation bug
1186
1187## 0.6.2 (February 9, 2016)
1188
1189### UI
1190- feat: use lodash `isEqual` write new pureRender
1191
1192## 0.6.1 (February 5, 2016)
1193
1194### UI
1195- fix(Pie, RadialBarChart): fix the default value of cx, cy, innerRadius, outerRadius
1196
1197## 0.6.0 (February 5, 2016)
1198
1199### UI
1200- refactor: rename AdaptionWrapper to ResponsiveContainer
1201- refactor: delete some repeated codes, and use polarToCartesian in PolarUtils
1202- fix: update the defaultProps of cx, cy, innerRadius, outerRadius
1203- fix(Sector, AdaptionWrapper):1. fix the bug of Sector when innerRadius is 0 2. fix the bug of unbind event when component is unmounted
1204- feat(util): use lodash replace utils
1205
1206## 0.5.2 (February 4, 2016)
1207
1208### UI
1209- fix(RadarChart): fix the bug of unreasonable default value for radius in PolarAngleAxis
1210
1211### Docs
1212- chore: change main and jsnext:main in package.json
1213
1214## 0.5.1 (February 4, 2016)
1215
1216### UI
1217- feat: support percentage string in the props(cx, cy, innerRadius, outerRadius) of RadarChart, PieChart, RadialChart
1218- fix(PolarRadiusAxis): add props domain
1219- refactor(CartesianAxis): remove unneeded props domain
1220
1221### Docs
1222- chore: optimize npm script commands
1223- chore: update pkg
1224
1225## 0.5.0 (February 3, 2016)
1226
1227### UI
1228- feat(AdaptionWrapper): add AdaptionWrapper to make charts adapt to the size of parent dom
1229- refactor: directory structure adjustment
1230- 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
1231- refactor(treemap): support tree structure data; changed props that pass to shape
1232
1233### Test
1234- test: 1.rename some test files 2.add test case of LodashUtil
1235- test(treemap): modified treemap test
1236
1237### Docs
1238- deps: add dependence oui-dom-utils
1239- chore(README.md): add syntax highlighting to the readme
1240- chore(package.json): add keyword react-component
1241
1242## 0.4.9 (February 2, 2016)
1243
1244### UI
1245- refactor(CartesianAxis, PolarAngleAxis): change props name "orient" to "orientation"
1246- refactor(Line, Bar, Pie): refactor animation using new react-smooth
1247- refactor(Pie, RidalBar): remove the props clockWise, and add the props endAngle
1248### Test
1249- test(Line, Bar, Radar, Scatter): add test case
1250
1251## 0.4.7 (February 1, 2016)
1252
1253### UI
1254- refactor(RadarChart, Radar, PolarAngleAxis, PolarRadiusAxis): refactor the components of Radar
1255- refactor(classNames): refactor the method of package a className
1256- refactor(Pie): add nameKey in Pie
1257
1258## 0.4.6 (January 29, 2016)
1259
1260### UI
1261- refactor(Legend): refactor the legend in all the charts, change the location method of legend
1262- feat(radar): add new RadarChart with the new component used in Chart, like PolarAngleAxis PolarRadiusAxis PolarGrid Polygon ex
1263
1264### Test
1265- feat(test): add test for charts, chartWrappers, components, and shapes
1266
1267## 0.4.5 (January 29, 2016)
1268
1269### UI
1270- fix(Curve): fix the bug of curve defined function
1271- fix(ComposedChart): fix the bug of bar position when a line and a bar display a same group of data.
1272- chore(webpack.config.js): add react, react-dom, react-dom-server to external
1273- deps(react, react-dom): update version to v0.14.7
1274
1275## 0.4.4 (January 28, 2016)
1276
1277### Dev
1278- chore(webpack.config.js): add build command
1279
1280## 0.4.3 (January 28, 2016)
1281
1282### UI
1283- deps(recharts-scale, react-smooth): update version of recharts-scale and react-smooth
1284- refactor(Bar, RadialBar, TreemapChart, Tooltip): rename the props customContent
1285
1286## 0.4.2 (January 28, 2016)
1287
1288### UI
1289- Add support of stack value in BarChart, AreaChart, ComposedChart
1290
1291## 0.4.1 (January 27, 2016)
1292
1293### UI
1294- Change name of the props in Tooltip, Legend
1295- Fix the bug of customized label element in CartesianAxis
1296- Remove repeated, meaningless constructor functions
1297
1298## 0.4.0 (January 26, 2016)
1299
1300### UI
1301- Refactor some components, include CartesianAxis, Legend, Tooltip etc, to unify some props name.
1302