Skip to content

Commit

Permalink
chore: fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Mar 4, 2024
1 parent 8ff9592 commit 4d19ee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
>
<tui-bar-chart
class="chart"
[max]="maxValue"
[tuiHintContent]="hint"
[value]="value"
></tui-bar-chart>
Expand Down
2 changes: 2 additions & 0 deletions projects/demo/src/modules/charts/axes/examples/2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export class TuiAxesExample2 {
[30, 14, 18, 14],
];

readonly maxValue = 40;

readonly axisYSecondaryLabels = [
'',
`${this.getMax(this.value) / 2} k`,
Expand Down

0 comments on commit 4d19ee4

Please sign in to comment.