Changelog ========= 13.0.0 ------ - Breaking: Upgrade to Angular 9. Add compatibility with Ivy - Breaking: Remove deprecated force-directed graph chart - Breaking: Remove release folder - Bug: Sanitize tooltip labels (#1241) - Bug: Fix line chart scaling on charts with large domain (#1204) - Chore: Remove d3 dependency - Chore: Update all d3 packages to latest versions .. _section-1: 12.1.0 ------ - Enhancement: Sanitize tooltip labels (#1241) - Bug: fix line chart scaling on charts with large domain (#1204) - Bug: add check for undefined xScale in groupTransform (#1273) .. _section-2: 12.0.1 ------ - Bug: Pass the correct number of parameters to fix production build (#1203) .. _section-3: 12.0.0 ------ - Breaking: Upgrade to angular 8.0.0 (#1201) - Breaking: Rework mouse events to make the format more consistent (#1185) - Feature: Allow passing extra data to the data items and include it in click and activate events (#1185) .. _section-4: 11.2.0 ------ - Feature: Made margins for pie chart component optional (#759) - Feature: Added option to gauge to show or hide inner text (#1175) - Feature: Added ``noBarWhenZero`` input to all bar related (#1086) - Bug: Updated Color.Helper.ts to handle null values (#1167) - Bug: Added missing export (#1193) - Bug: Fixed chart height with large number of yAxisTicks (#1105) - Chore: Bumped extract-text-plugin to version 3.0.2 (#861) - Chore: Updated zone.js version to 0.9.1 (#1187) - Docs: Deprecated force-directed graph chart (#1159) - Docs: Fixed link typo in motication.md (#1172) - Docs: Added interactive bubble chart to demo (#1174) .. _section-5: 11.1.0 ------ - Feature: added option to disable x axis tick rotation (#1139) - Bug: Update peer dependency requirements .. _section-6: 11.0.1 ------ - Bug: Fixes displaying of tooltip on IE 11 (#1157) .. _section-7: 11.0.0 ------ - Breaking: Remove Angular location strategy from ChartCommonModule (#915) - Any Angular applications, that rely on the pre-configured location strategy provided by ngx-charts, will need to set it separately - Feature: Allow access to custom properties in tooltip templates (#555) - Bug: Update tooltip positioning to correctly flip sides when there is not enough available space (#1136) - Bug: Fixed combo Line and Bar chart not aligning (#1154) - Chore: Removed unnecessary peer dependencies (#1140) - Chore: Replaced bitwise operators with math.floor (#1151) - Chore: Changed tree-map label class to avoid conflict (#1117) - Chore: Remove unused property binding (#1120) - Docs: motivation.md Typo fix (#1123) .. _section-8: 10.1.0 ------ - Feature: Allow configuration of tick trimming on charts with X and Y axis (#870) - Bug: Updated packages to remove event-stream vulnerability - Bug: Fixed issue where advanced pie legend click emits the truncated (#1106) - Bug: Fixed rotation to respect tick trimming - Bug: Fixed Pie Chart flicker on Safari (#1068) - Bug: Fixed issue where vertical bar chart is not showing X axis when all data values are negative (#1044) - Chore: Removed unused param in GridPanelSeriesComponent (#1025) - Chore: Added type check instead of truthy value for determining min/max in getRangeGenerator (#1042) - Docs: Fixed typo (#1056) - Docs: Fixed link in readme (#1053) - Docs: Fixed documentation link (#1029) .. _section-9: 10.0.0 ------ - Breaking: Upgraded to angular 7 - Feature: Implemented legened positioning - Feature: Added accessibility attributes to bar charts (#977) - Chore: Migrated to Renderer2 (#1021) - Chore: getScaleType performance improvements (#995) - Docs: Fixed value typo (#974) .. _section-10: 9.1.1 ----- - Chore: Move d3 libraries back to dependencies (#1008) .. _section-11: 9.1.0 ----- - Feature: Added ES Module Support (#1004) .. _section-12: 9.0.0 ----- - Breaking: Changed the input of valueFormatting for the tree map chart from an object to number - Feature: Added support for server side rendering (#919, #920, #921 ) - Bug: Fixed advanced-legend colors in print (#907) - Bug: Fix value formatting for advanced legend (#906) - Enhancement: Added option to set globalRootViewContainer in the InjectionService (#914) - Chore: Added export for domain.helper (#894) - Docs: Fixed Custom Charts Page link in README.md (#886) .. _section-13: 8.1.0 ----- - Feature: Added configuration for label trimming on polar chart (#858) - Feature: Added ability to set Min and Max values for heatmaps closes (#875) - Fix: Export axes module (#872) - Fix: Use animations for line-highlight depending on line-series animations (#856) .. _section-14: 8.0.2 ----- - Bug: Fix pie chart label collision detection .. _section-15: 8.0.1 ----- - Feature: Add dblclick to pie chart .. _section-16: 8.0.0 ----- - Breaking: Upgrade to Angular 6 .. _section-17: 7.4.0 ----- - Feature: Data labels for bar charts (#752) - Bug: Fix computation of X axis ticks angle (#820) .. _section-18: 7.3.0 ----- - Feature: Added support for overriding x and y axis ticks (#723) - Feature: Added support for area chart floor value (#684) - Feature: Implemented min value scales for vertical and horizontal bar charts - Enhancement: Performance improvements across multiple charts (#765, #758) - Enhancement: Added support for overriding the min width of pie grid items (#762) - Bug: Fixed error being thrown when results is undefined (#217) - Bug: Fixed label input in pie-grid (#773) .. _section-19: 7.2.0 ----- - Feature: Added bar-vertical yScaleMin (#732) - Feature: Added support for label input in pie grid chart (#731) - Bug: Avoid invalid paths when rect shape has 0 width or height (#742) - Bug: Fix stacked bar chart negative values issue (#605) - Chore: Added basic test of area-chart (#737) .. _section-20: 7.1.1 ----- - Bug: Fixed template compile errors with fullTemplateTypeCheck (#730) .. _section-21: 7.1.0 ----- - Feature: Added support for passing a function to the ``customColors`` input to all charts. (#676, #713) - Feature: Added ``trimLabels`` and ``maxLabelLength`` inputs to pie chart (#716) - Feature: Added inputs for formatting the name, value, and percentage in advanced pie chart (#719) - Enhancement: Switched to using lettable rxjs operators (#683) - Enhancement: Allow using the timeline for linear x scales (#624) - Bug: Fixed line/area tooltip positioning in firefox (#671) - Bug: Removed duplicate input declaration (#708) - Bug: Fixed duplicate % sign in pie grid charts when animations are disabled (#685) .. _section-22: 7.0.1 ----- - Fix: Export polyfills to fix AoT build issue with Angular 5 (#644) .. _section-23: 7.0.0 ----- - Breaking: Added support for angular 5 (#633) - Bug: Fixed ‘ReferenceError: SVGElement is not defined’ exception when using with angular universal (#587) - Bug: Fixed NaN issue on Advanced Pie Chart (#597) - Bug: Changed onDeactivate in the gauge component to emit the correct value instead of the event value from the global scope (#613) .. _section-24: 6.1.0 ----- - Feature: Added inputs to control minimum and maximum values on the axes (#582, #359) - Feature: Added input to enable/disable animations (#565) - Feature: Added designatedTotal Input for Pie Grid (#554) - Enhancement: Don’t transform text to uppercase in legends and labels (#578) - Enhancement: Changed legends and label colors (#578) - Enhancement: Increased font size in advanced legend and number cards subtext (#578) - Enhancement: Hide legend title when title is missing (#578) - Enhancement: Added x-axis value to the context of a bubble chart tooltip (#530) - Bug: Removed path from SVG refs to fix gradients not working when URL has queryString (#584) - Bug: Fixed bug where value arc animation on gauge chart would start from 0 on update (#563) - Bug: Removed date conversion for name-value at series-tooltip (#544) - Bug: Added null check for rootComponents in injection service (#574) - Bug: Fixed issue where the tooltip would not appear for certain points (#501) - Bug: Fixed issue where pie chart colors would not update on color changes (#551) - Bug: Added polyfill for SVGElement.prototype.contains (#386) - Bug: Renamed ngOutletContext (deprecated) to ngTemplateOutletContext (#535) - Docs: Added custom chart page .. _section-25: 6.0.1 ----- - Bug: Fixed line chart stroke color - Bug: Fixed timeline width and alignment - Bug: Fixed truncation of legend text (#487) - Chore: Removed patch numbers from peerDependencies (#478) .. _section-26: 6.0.0 ----- - Breaking: Removed ``showSeriesOnHover`` option of line-chart - Refactor: Improved performance of line and area chart tooltips (#463) - Enhancement: Added ``roundEdges`` input property to bar charts (#408) - Enhancement: Tooltip elements are not created if tooltips are disabled (#415) - Enhancement: Added the option to define reference lines in line charts (#422) - Enhancement: Improved animations - Bug: Fixed timeline select issue (#425) - Chore: Upgraded angular to 4.2.5 - Demo: Added timeline filter bar chart demo - Demo: Added Combo chart (bar and line) demo (#432) .. _section-27: 5.3.1 ----- - Bug: Fix bug where the axis component would not emit a dimensionsChanged event in some cases .. _section-28: 5.3.0 ----- - Feature: Added option to pass custom ng-templates for tooltips to all charts - Enhancement: Added ‘label’ input to advanced pie chart component - Enhancement: Exposed xOrient and yOrient properties on axis components - Enhancement: Set default dimensions if width or height are undefined or 0 - Enhancement: Set a default color scheme - Bug: Fixed bubble chart overriding the view input - Bug: Fixed linear color scheme when there are less than 3 colors - Bug: Fixed gradient not applying to straight lines - Demo: Added sparkline custom demo chart - Demo: Added interactive treemap demo chart .. _section-29: 5.2.1 ----- - Bug: Remove RGBColor type from color-util file (#394) .. _section-30: 5.2.0 ----- - Feature: Added Polar/Radar chart type (#380) - Enhancement: Disable pointer if no click events are attached to number cards (#378) - Enhancement: Added gradient to tree map chart (#382) - Enhancement: Added support for inverted colors from rgba values in number cards (#366) - Enhancement: Added value and label formatting to tree map (#383) - Refactor: loremess restrictive angular dependency versioning (#358) - Bug: Fixed types in gauge chart (#364) - Bug: Fixed axis and tooltips on bubble chart (#352) - Bug: Added styleUrls and changeDetection to bubble chart - Bug: Truncate dimension values - Bug: Fixed number card count animation (#387) - Bug: Added type to gauge chart valueFormatting parameter (#388) .. _section-31: 5.1.2 ----- - Bug: Fix number card scaling in hybrid apps using ngUpgrade (#338) - Bug: Fix label trimming and clipped SVGs (#340) .. _section-32: 5.1.1 ----- - Bug: Add default value for label format (#334) .. _section-33: 5.1.0 ----- - Enhancement: Added valueFormatting input to number card chart (#325) - Enhancement: Added label formatting input to number card chart (#332) - Enhancement: Added tooltipText to pie charts (#331) - Enhancement: Added option in line-chart for disabling series on hover (#323) - Enhancement: Added an input for custom legend title (#317) - Bug: Fixed number card text scaling when values change (#330) - Bug: Inverted y-axis on horizontal bar charts (#328) - Bug: Fix division by zero in pie label component .. _section-34: 5.0.1 ----- - Enhancement: ``valueFormatting`` applies to Gauge Arc Labels too .. _section-35: 5.0.0 ----- - Breaking: Upgrade to angular 4 .. _section-36: 4.4.0 ----- - Feature: Added ability to set card text color in number card (#284) - Enhancement: Added more heatmap options and support for various inputs for innerPadding (#297, #301) - Enhancement: Added valueFormatting input to linear gauge chart - Enhancement: Added valueFormatting input to gauge chart - Enhancement: Added labelFormatting input to pie chart - Enhancement: Updated pie chart label animations (#291) - Bug: Fixed pie chart positioning - Bug: Fixed ticks calculation on resize (#295) - Bug: Fixed percentage value in pie grid when the total is 0 (#288) - Bug: Fixed date formatting in bubble chart tooltips (#285) - Bug: Fixed Scale.round error in line chart (#287) - Chore: AOT error fixes .. _section-37: 4.3.0 ----- - Enhancement: Improved pie chart label positioning (#273) - Enhancement: Improved number card design and scaling (#272) - Chore: Refactored charts to use d3 modules directly in library components (#270) .. _section-38: 4.2.1 ----- - Bug: Fixed customColors mapping - Chore: Various AoT compilation and build improvements (#255, #257, #258, #259, #256, #263, #260, #266) .. _section-39: 4.2.0 ----- - Chore: AoT compilation compatibility improvements (#253, #252, #251) - Enhancement: Added option to disable tooltips (#223) .. _section-40: 4.1.3 ----- - Enhancement: Added option to override the value in gauge chart - Bug: Fixed padding on bubble charts - Chore: Compile SCSS into CSS before building - Chore: Expor ChartComponent through the main module .. _section-41: 4.1.2 ----- - Bug: Fix tooltip when axis labels are not shown in bubble chart - Bug: Do not round scales when they are not linear - Enhancement: Show Axis labels in bubble chart tooltip (#210) .. _section-42: 4.1.1 ----- - Bug: Fix items not always deactivating on bubble chart - Bug: Fix bubbles not showing for when y value is 0 - Bug: Fix realtime data generator on demo page for line and area charts .. _section-43: 4.1.0 ----- - Feature: Added scatter/bubble chart (#197) - Bug: Made line-area-tooltip anchor visible on light theme - Bug: Fixed precision on pie grid percentage values (#202) .. _section-44: 4.0.3 ----- - Bug: Update zone.js version .. _section-45: 4.0.2 ----- - Bug: Fixed css scope - Bug: Fixed vertical alignment issue of advanced pie legend - Bug: Fixed AOT issue where scss files were missing in the release folder - Chore: Made tooltip injector use Renderer - Chore: Updated Angular to 2.4.5 .. _section-46: 4.0.1 ----- - Bug: Fixed regressions from CSS refactor .. _section-47: 4.0.0 ----- - Enhancement: Added ``barPadding`` and ``groupPadding`` properties to bar-charts (#185) - Enhancement: Added ``innerPadding`` property for heatmap, to control padding between cells (#165) - Enhancement: Added ``axisTickformatting`` property to bar, area, line, gauge and heatmap charts, for custom axis tick formatting (#167) - Enhancement: Added ``innerRadius`` property to pie charts, Fixes #104 (#162) - Enhancement: Added ``roundDomain`` property to all charts with axis, allowing it to round the domains to nice values (#183) - Enhancement: Added animation to areaTooltip anchors (#183) - Bug: Charts not rendering if container is hidden by default (#170) - Bug: Use old parent dimensions if new dimensions are undefined or 0 - Bug: Fixed axis number formatting (#171) - Chore: Updated dependencies - Chore: Replaced moment with d3 timeFormat. Moment.js is no longer a dependency (#173) - Chore: Only include used Rxjs operators to decrease file size (#169) - Chore: Refactored CSS and embedded it into the chart components. No need to import the css file separately any longer. [Breaking change] .. _section-48: 3.1.2 ----- - Enhancement: Add ``ngx-charts-outer`` class to ``ngx-charts`` inner element - Chore: Update dependencies .. _section-49: 3.1.1 ----- - Fixed bug where activated lines and areas would not deactivate when mouse leaves the circle - Added fade in animation to active circle line .. _section-50: 3.1.0 ----- - Added min and max ranges option to line charts (#160) - Added margin support for Gauge charts (#159) - Added animation to pie chart label - Replaced window.location with angular’s Location provider - Fixed axis tick overlap in gauge chart when the angle span is 360 - Replaced .children with .getElementsByTagName in area tooltip to fix error in IE11 (#157) .. _section-51: 3.0.7 ----- - Changed arc colors on gauge charts to be based on name, not value .. _section-52: 3.0.6 ----- - Fixed typo in circle series (#149) - Fixed gradient bug in heatmap - Updated Axis components to allow tick count to be an input - Changed scaleText methods on gauge charts to not be recoursive .. _section-53: 3.0.5 ----- - Added the group name in grouped bar tooltips - Added legend to gauge chart - Added tooltips to gauge chart .. _section-54: 3.0.4 ----- - Fixed broken count animation in number card - Fixed tooltip for hybrid apps - Cody lint updates .. _section-55: 3.0.3 ----- - Namespaced the project to swimlane organization .. _section-56: 3.0.2 ----- - Exported ColorHelper class .. _section-57: 3.0.1 ----- - Updated tooltips to latest version from ngx-ui .. _section-58: 3.0.0 ----- - Renamed project to ngx-charts - Prefixed component selectors with ngx-charts- - Upgraded angular to 2.4.1 - Implemented BaseChartComponent as an angular component and set up proper component inheritance - Converted color helper to a class - Implemented linear color schemes for bar, line and area charts and added schemeType input - Added support for multiple values in gague chart - Implemented linear gauge chart - Implemented triggering legend item activation when chart items are being hovered .. _section-59: 2.0.0 ----- - BREAKING: Renamed ``clickHandler`` to ``select`` (#120) - Bug: Tooltips show up in top left corner sometimes - Polish: Tooltips have animation entry now - Polish: Add highlight gradient and column when hovering a circle - Polish: Remove outline on focus (#106) - Polish: Make pie grid less ugly (#90) - Polish: Highlighting a line/area chart in legend, defocuses others - Polish: Radial gradients on pie charts vs linear - Polish: Better sizing for heatmap legends - Chore: Refactor Advanced Legend (#125) - Chore: Webpack html templates for Google Analytics .. _section-60: 1.9.0 ----- - Enhancement: Hover of legend doesn’t highlight bar (#73) - API: Added ``activate`` and ``deactivate`` events to chart for hovers - Bug: Fix number card positioning due to count up - Bug: Fix decimal places on advanced pie legend - Chore: Fix rx mapping (#123) - Polish: Tweak label color bg - Polish: Tweak circle / heat map tooltip titles - Perf: Improve perf of circles using ngIf .. _section-61: 1.8.2 ----- - Bug: Fix for number cards not updating to last value - Bug: Revert RxJS Import Optimized (#62) due to (#119) - Polish: Added animation on treemap - Polish: Better formatting for treemap values - Polish: Added animation on advanced pie - Polish: Added animation on pie grid .. _section-62: 1.8.1 ----- - Polish: Treemap/Number card label color improvements - Polish: Tooltip formatting improvements - Backlog: RxJS Import Optimized (#62) - Backlog: AoT fixes .. _section-63: 1.8.0 ----- - Renamed CommonModule to ChartCommonModule to fix name conflicts with other frameworks #109 - Converted date objects to formatted strings in some charts - Removed rounded corners on thin bars - Improved on destroy hooks in tooltips - Merged ``legendLabelClick`` output into ``select`` output - Fixed legend click data format .. _section-64: 1.7.3 ----- - Fixed pie chart labels going out of bounds - Updated area tooltip formatting and legend colors for dates - Updated numbercard height scale max size .. _section-65: 1.7.2 ----- - Bug: Fix number card text scaling - Added custom timeline background element - Wrapped timeline updates in zone.run - Style updates .. _section-66: 1.7.1 ----- - Bug: Advanced Pie Legend not clickable - Bug: Date equality not scaling properly .. _section-67: 1.7.0 ----- - Enhancement: Added ``legendLabelClick`` event - Enhancement: Properly format labels and numbers in axis, tooltips, and legends - Bug: Fix typo in legend eye class - Style: Hover styling for legend entries - Chore: Upgrade to Angular 2.2.2 - Chore: Better Webpack Config - Chore: Normalized exports .. _section-68: 1.6.3 ----- - Bug: Wrap all updates in zone.run to fix issue in hybrid apps - Perf: Add starting value to reduce calls - Bug: Fix sorting in line and area charts - Bug: Fix change detection in hybrid Angular applications - Style: Better tooltip styling .. _section-69: 1.6.2 ----- - Chore: Export BaseCharts - Perf: Switch change detection strategy to OnPush .. _section-70: 1.6.1 ----- - Bug: Don’t do rounded edges on bars smaller than their radius - Bug: Scale number cards by height - Bug: Set text inside number cards to prevent overflow (#89) - Bug: Format numbers and dates according to locale - Bug: Fix timeline width when no legend is present - Bug: Embed charts into timeline; Restyle timeline - Bug: Show percentages in tooltips for normalized bar charts (#79) - Chore: Change legend class name to prevent style conflicts (#98) - Chore: Upgrade to Angular 2.2.1 - Chore: Fix tooltips in hybrid apps .. _section-71: 1.6.0 ----- - Added gauge chart - Fixed source map file name - Fixed bug where grid panels in grouped bar chart would have the wrong size and position .. _section-72: 1.5.2 ----- - Added fade in animation to charts - Excluded d3 from the release bundle - Decreased the pie grid doughnut width .. _section-73: 1.5.1 ----- - Fixed bug where view dimension feedback would enter into a loop due to float decimals - Fixed bug where tree map would not call update on the base chart - Switched legend label truncation to css ellipsis - Added maximum height to legend, and scrollbars on overflow - Added a count up animation to number cards - Fixed advanced pie layout - Updated pie grid layout and padding - Refactored pie grid to use the pie arc component - Updated testing framework .. _section-74: 1.5.0 ----- - Added force directed graph chart (#64) - Fixed bug where tooltip would not work when library is used in an angular 1 application using ngUpgrade - Fixed tooltip positioning - Added line interpolation option for line and area charts (#52) - Updated view dimension calculation to properly take into account the width and height of the axis tick labels. - Various bug fixes and code style fixes .. _section-75: 1.4.0 ----- - Chore: Upgrade Webpack 2.25 - Chore: Remove rollup in favor of webpack builds .. _section-76: 1.3.0 ----- - Added option to resize charts to fit containers if ``view`` property is not set (#44) - Fixed legend size and positioning (#47) - Added scale legend to heat map chart - Added option to show/hide the grid lines on the chart (#53) - Added support for negative values in bar charts (#17) - Fixed bug with reduce call (#56) - Changed the tooltip to be hidden initially in order to avoid overflow and scrollbars. (#57) - Fixed AOT bugs (#46) .. _section-77: 1.2.2 ----- - Added AOT compilation support - Fixed bug where BrowserModule was imported multiple times .. _section-78: 1.2.1 ----- - Added transition animation to TreeMap chart - Added tooltips to TreeMap, Line, Area, and Pie Grid charts - Fixed TreeMap click event - Updated TreeMap label positioning and style - Changed the starting opacity of bars in bar chart - Updated the circles behavior on Line and Area charts .. _section-79: 1.2.0 ----- - Added Tooltips to charts - Added TreeMap chart .. _section-80: 1.1.0 ----- - Upgraded to Angular 2.0.0 - Upgraded to TypeScript 2.0.2 - Added timeline line and area charts - Removed margin from inputs - Prevented charts from double rendering on init - Added transition animations to pie, line and area charts, and updated transitions on bar charts .. _section-81: 1.0.1 ----- - Implemented smart axis labels (#32) - Upgraded D3 to 4.0 (#6) .. _section-82: 1.0.0 ----- - Initial release