Initial commit: data-viz-elements-ui library

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Giuliano Silvestro
2026-02-13 22:06:35 +10:00
commit 0ce172bfc1
98 changed files with 8832 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<div class="viz-area-chart" [class.viz-area-chart--legend-left]="legend().visible && legend().position === 'left'" [class.viz-area-chart--legend-right]="legend().visible && legend().position === 'right'">
@if (legend().visible && (legend().position === 'top' || legend().position === 'left')) {
<viz-legend [items]="legendItems()" [position]="legend().position" (itemClick)="onLegendClick($event)" />
}
<div #chart></div>
@if (legend().visible && (legend().position === 'bottom' || legend().position === 'right')) {
<viz-legend [items]="legendItems()" [position]="legend().position" (itemClick)="onLegendClick($event)" />
}
</div>