Skip to content

Commit

Permalink
customColor type fixes (#1641) (#1642)
Browse files Browse the repository at this point in the history
* customColor type fixes (#1641)

* revert angular.json changes

* undo version bump, mark changes as unreleased
  • Loading branch information
bweir27 committed Jul 2, 2021
1 parent 06f2a1b commit 6a58d9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

- Bug: Fix `ColorHelper.customColors` typing to allow for functions or objects (#1641)

## 18.0.1

- Bug: Use correct curve type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class BaseChartComponent implements OnChanges, AfterViewInit, OnDestroy {
@Input() view: [number, number];
@Input() scheme: any = 'cool';
@Input() schemeType: ScaleType = ScaleType.Ordinal;
@Input() customColors: any[];
@Input() customColors: any;
@Input() animations: boolean = true;

@Output() select = new EventEmitter();
Expand Down

0 comments on commit 6a58d9f

Please sign in to comment.