Skip to content

Commit

Permalink
Merged PR 13339: Update dependency ng2-charts to v6
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ng2-charts](https://github.com/valor-software/ng2-charts) | [`^5.0.3` -> `^6.0.0`](https://renovatebot.com/diffs/npm/ng2-charts/5.0.4/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ng2-charts/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ng2-charts/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ng2-charts/5.0.4/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ng2-charts/5.0.4/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>valor-software/ng2-charts (ng2-charts)</summary>

### [`v6.0.0`](https://github.com/valor-software/ng2-charts/releases/tag/v6.0.0)

[Compare Source](valor-software/ng2-charts@v5.0.4...v6.0.0)

#### What’s Changed

-   BREAKING Tree shakable standalone library ([#&#8203;1801](valor-software/ng2-charts#1801)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
    Users must import the library in standalone mode
-   BREAKING drop hardcoded and generated colors ([#&#8203;1806](valor-software/ng2-charts#1806)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
    Users must migrate to the Colors [plugin](https://www.chartjs.org/docs/latest/general/colors.html) from Chart.js for color generation
-   Angular 17 ([#&#8203;1757](valor-software/ng2-charts#1757)) [@&#8203;santam85](https://github.com/santam85)
    Angular 17 is the minimum version for v6
-   Target ES2022 as is done in Angular 17 new projects ([#&#8203;1802](valor-software/ng2-charts#1802)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Enforce prettier in CI ([#&#8203;1804](valor-software/ng2-charts#1804)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Drop CHANGELOG.md ([#&#8203;1805](valor-software/ng2-charts#1805)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Migrate to new control flow syntax ([#&#8203;1827](valor-software/ng2-charts#1827)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Make defaults type safe ([#&#8203;1836](valor-software/ng2-charts#1836)) [@&#8203;Cselt](https://github.com/Cselt)
-   chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.11.23 to 20.11.24 ([#&#8203;1857](valor-software/ng2-charts#1857)) [@&#8203;dependabot](https://github.com/dependabot)
-   chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.11.20 to 20.11.21 ([#&#820...
  • Loading branch information
s-ch-Renovate-TechnicalUser authored and Tugark committed Mar 4, 2024
2 parents 637bf8a + 5a21620 commit 6ecefd6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"dayjs": "^1.11.7",
"immer": "^10.0.1",
"material-icons": "^1.13.3",
"ng2-charts": "^5.0.3",
"ng2-charts": "^6.0.0",
"ngx-ui-tour-md-menu": "^12.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ import {ElevationProfileData, ElevationProfileDataPoint} from '../../../../share
import {ElevationProfileChartJsDataConfiguration} from './types/chartjs.type';
import {ElevationPlotConfigService} from './services/elevation-plot-config.service';
import {ElevationProfileChartJsOptions} from './interfaces/chartjs.interface';
import {BaseChartDirective} from 'ng2-charts';

const VERTIXAL_AXIS_LABEL = 'MüM';

@Component({
standalone: true,
selector: 'elevation-profile-chart',
templateUrl: './elevation-profile-chart.component.html',
styleUrls: ['./elevation-profile-chart.component.scss'],
imports: [BaseChartDirective],
})
export class ElevationProfileChartComponent implements OnInit {
@Input() public elevationProfileData!: ElevationProfileData;
Expand Down
8 changes: 4 additions & 4 deletions src/app/map/map.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ import {ProductComponent} from './components/map-tools/product/product.component
import {DataDownloadFilterDialogComponent} from './components/map-tools/data-download-filter-dialog/data-download-filter-dialog.component';
import {DataDownloadEmailDialogComponent} from './components/map-tools/data-download-email-dialog/data-download-email-dialog.component';
import {ElevationProfileOverlayComponent} from './components/elevation-profile-overlay/elevation-profile-overlay.component';
import {NgChartsModule} from 'ng2-charts';
import {ElevationProfileChartComponent} from './components/elevation-profile-overlay/elevation-profile-chart/elevation-profile-chart.component';
import {ElevationProfileStatisticsComponent} from './components/elevation-profile-overlay/elevation-profile-statistics/elevation-profile-statistics.component';
import {DataDownloadEmailConfirmationDialogComponent} from './components/map-tools/data-download-email-confirmation-dialog/data-download-email-confirmation-dialog.component';
import {DataDownloadStatusQueueComponent} from './components/map-tools/data-download-status-queue/data-download-status-queue.component';
Expand All @@ -86,8 +84,11 @@ import {MapAttributeFilterOverlayComponent} from './components/map-attribute-fil
import {DelayedMouseEnterDirective} from '../shared/directives/delayed-mouse-enter.directive';
import {DisableOverscrollBehaviourComponent} from './components/disable-overscroll-behaviour/disable-overscroll-behaviour.component';
import {NotificationIndicatorComponent} from './components/notification-indicator/notification-indicator.component';
import {ElevationProfileChartComponent} from './components/elevation-profile-overlay/elevation-profile-chart/elevation-profile-chart.component';
import {provideCharts, withDefaultRegisterables} from 'ng2-charts';

@NgModule({
providers: [provideCharts(withDefaultRegisterables())],
declarations: [
MapPageComponent,
MapContainerComponent,
Expand Down Expand Up @@ -152,7 +153,6 @@ import {NotificationIndicatorComponent} from './components/notification-indicato
DataDownloadFilterDialogComponent,
DataDownloadEmailDialogComponent,
ElevationProfileOverlayComponent,
ElevationProfileChartComponent,
ElevationProfileStatisticsComponent,
DataDownloadEmailConfirmationDialogComponent,
DataDownloadStatusQueueComponent,
Expand All @@ -168,7 +168,6 @@ import {NotificationIndicatorComponent} from './components/notification-indicato
OnboardingGuideModule,
FormsModule,
ReactiveFormsModule,
NgChartsModule,
MapImportServiceAndUrlComponent,
MapImportLayerListComponent,
MapImportDisplayNameComponent,
Expand All @@ -180,6 +179,7 @@ import {NotificationIndicatorComponent} from './components/notification-indicato
DelayedMouseEnterDirective,
DisableOverscrollBehaviourComponent,
NotificationIndicatorComponent,
ElevationProfileChartComponent,
],
exports: [LegendOverlayComponent, FeatureInfoOverlayComponent, MapContainerComponent, ZoomControlsComponent, MapOverlayComponent],
})
Expand Down

0 comments on commit 6ecefd6

Please sign in to comment.