source: node_modules/recharts/CHANGELOG.md

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

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