Skip to content

Commit 4a190ad

Browse files
committed
docs(angular): update to v5.4.4; remove New Year banner (with rollback to angular 19.1)
1 parent 008d5ad commit 4a190ad

File tree

193 files changed

+802
-636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+802
-636
lines changed

angular/docs/charts/examples/charts01.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Component, DestroyRef, inject } from '@angular/core';
22
import { ChartjsComponent } from '@coreui/angular-chartjs';
3+
import { ChartData } from 'chart.js';
34

45
@Component({
56
selector: 'docs-charts01',
@@ -17,7 +18,7 @@ export class Charts01Component {
1718
});
1819
}
1920

20-
data = {
21+
data: ChartData = {
2122
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
2223
datasets: [
2324
{
@@ -43,7 +44,7 @@ export class Charts01Component {
4344
if ($chartRef) {
4445
console.log('handleChartRef', $chartRef);
4546
this.#timeoutID = setTimeout(() => {
46-
this.data?.labels.push('August');
47+
this.data?.labels?.push('August');
4748
this.data?.datasets[0].data.push(60);
4849
this.data?.datasets[1].data.push(20);
4950
$chartRef?.update();

angular/docs/charts/examples/charts03.component.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Component } from '@angular/core';
22
import { ChartjsComponent } from '@coreui/angular-chartjs';
3+
import { ChartData } from 'chart.js';
34

45
@Component({
56
selector: 'docs-charts03',
@@ -8,8 +9,7 @@ import { ChartjsComponent } from '@coreui/angular-chartjs';
89
imports: [ChartjsComponent]
910
})
1011
export class Charts03Component {
11-
12-
data = {
12+
data: ChartData<'radar'> = {
1313
labels: ['Eating', 'Drinking', 'Sleeping', 'Designing', 'Coding', 'Cycling', 'Running'],
1414
datasets: [
1515
{
@@ -18,8 +18,7 @@ export class Charts03Component {
1818
borderColor: 'rgba(220, 220, 220, 1)',
1919
pointBackgroundColor: 'rgba(220, 220, 220, 1)',
2020
pointBorderColor: '#fff',
21-
pointHighlightFill: '#fff',
22-
pointHighlightStroke: 'rgba(220, 220, 220, 1)',
21+
pointHoverRadius: 15,
2322
data: [65, 59, 90, 81, 56, 55, 40]
2423
},
2524
{
@@ -28,8 +27,7 @@ export class Charts03Component {
2827
borderColor: 'rgba(151, 187, 205, 1)',
2928
pointBackgroundColor: 'rgba(151, 187, 205, 1)',
3029
pointBorderColor: '#fff',
31-
pointHighlightFill: '#fff',
32-
pointHighlightStroke: 'rgba(151, 187, 205, 1)',
30+
pointHoverRadius: 15,
3331
data: [28, 48, 40, 19, 96, 27, 100]
3432
}
3533
]

angular/docs/charts/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

angular/docs/chunk-LP7FWBL5.js renamed to angular/docs/chunk-23KTIHCV.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular/docs/chunk-XLI7GCHC.js renamed to angular/docs/chunk-2HZTYYJF.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)