Skip to content

Commit 9db0cab

Browse files
committed
docs: readme
1 parent 4818871 commit 9db0cab

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This is a small chart library for Angular based on D3js. It currently supports s
66
Angular 16
77

88
## Articles
9+
* [A scrolling Date/Timeline Chart with Angular Material Components](https://angular2guy.wordpress.com/2023/07/01/a-scrolling-date-timeline-chart-with-angular-material-components/)
910
* [Developing and Using Angular Libraries](https://angular2guy.wordpress.com/2021/07/31/developing-and-using-angular-libraries/)
1011
* [Ngx-Simple-Charts multiline and legend support howto](https://angular2guy.wordpress.com/2021/10/02/ngx-simple-charts-multiline-and-legend-support-howto/)
1112
* [Multiple Entry Points for the NgxSimpleCharts Angular Library](https://angular2guy.wordpress.com/2021/12/26/multiple-entry-points-for-ngxsimplecharts-angular-library/)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-simple-charts",
3-
"version": "16.1.1",
3+
"version": "16.1.2",
44
"license": "Apache License Version 2.0",
55
"scripts": {
66
"ng": "ng",

projects/ngx-simple-charts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This is a small chart library for Angular based on D3js. It currently supports s
66
Angular 16
77

88
## Articles
9+
* [A scrolling Date/Timeline Chart with Angular Material Components](https://angular2guy.wordpress.com/2023/07/01/a-scrolling-date-timeline-chart-with-angular-material-components/)
910
* [Developing and Using Angular Libraries](https://angular2guy.wordpress.com/2021/07/31/developing-and-using-angular-libraries/)
1011
* [Ngx-Simple-Charts multiline and legend support howto](https://angular2guy.wordpress.com/2021/10/02/ngx-simple-charts-multiline-and-legend-support-howto/)
1112
* [Multiple Entry Points for the NgxSimpleCharts Angular Library](https://angular2guy.wordpress.com/2021/12/26/multiple-entry-points-for-ngxsimplecharts-angular-library/)

projects/ngx-simple-charts/date-time/src/lib/sc-date-time-chart/sc-date-time-chart-base.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,17 @@ export class ScDateTimeChartBase {
4242
new Date()
4343
) as Date;
4444
//console.log(this.localStart);
45+
/*
4546
const startOfChart = DateTime.fromJSDate(this.localStart)
4647
.setLocale(this.locale)
4748
.setZone(Intl.DateTimeFormat().resolvedOptions().timeZone)
4849
.toJSDate();
50+
*/
4951
const myEndOfYear = new Date(new Date().getFullYear(), 11, 31, 23, 59, 59);
5052
const endOfYear = DateTime.fromJSDate(myEndOfYear)
5153
.setLocale(this.locale)
5254
.setZone(Intl.DateTimeFormat().resolvedOptions().timeZone)
5355
.toJSDate();
54-
let myItem = new ChartItem<Event>();
55-
myItem.end = DateTime.fromJSDate(new Date(0, 11, 31))
56-
.setLocale(this.locale)
57-
.setZone(Intl.DateTimeFormat().resolvedOptions().timeZone)
58-
.toJSDate();
5956
const lastEndItem = this.localItems.reduce((acc, newItem) => {
6057
const accEnd = !!acc?.end?.valueOf() ? acc?.end?.valueOf() : -1;
6158
const newItemEnd = !!newItem?.end?.valueOf()

projects/ngx-simple-charts/date-time/src/lib/sc-date-time-chart/sc-date-time-chart.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export class ScDateTimeChartComponent
5858
ngAfterViewInit(): void {
5959
this.calcTimeChartValues();
6060
setTimeout(() => {
61-
//console.log('afterViewInit');
6261
let myPeriods = !this.showDays ? this.periodYears : this.periodMonths;
6362
myPeriods = myPeriods.filter(
6463
(myPeriod) => myPeriod.diffNow().seconds <= 0
@@ -73,8 +72,6 @@ export class ScDateTimeChartComponent
7372
}
7473
this.calcTimeChartValues();
7574
}, 1000);
76-
//console.log(this.timeChartHeight);
77-
//console.log(this.headerLineRef?.nativeElement?.clientHeight);
7875
}
7976

8077
ngOnInit(): void {

projects/ngx-simple-charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-simple-charts",
3-
"version": "16.1.1",
3+
"version": "16.1.2",
44
"license": "Apache License Version 2.0",
55
"peerDependencies": {
66
"@angular/common": "^16.0.0",

0 commit comments

Comments
 (0)