diff --git a/components/charts.html b/components/charts.html index 881e73f..5b8511d 100644 --- a/components/charts.html +++ b/components/charts.html @@ -38,6 +38,13 @@
+ + diff --git a/styles/41-components-charts.css b/styles/41-components-charts.css index 62dafa7..5e2d8e1 100644 --- a/styles/41-components-charts.css +++ b/styles/41-components-charts.css @@ -56,6 +56,10 @@ --score-marker-position: 50%; } +.sg-score-bar--no-value { + display: block; +} + .sg-score-bar__value { height: 100%; border-radius: var(--radius-graph-bar); @@ -85,6 +89,21 @@ background: transparent; } +.sg-score-bar__empty-state { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: flex-start; + padding-inline-start: var(--spacing-small); + color: var(--text-chart-default); + font-family: var(--font-family-base); + font-size: var(--font-size-small); + font-weight: var(--font-weight-regular); + line-height: var(--line-height-base); + pointer-events: none; +} + .sg-chart-preview-area { min-width: var(--layout-object-card-min-width); max-width: var(--layout-object-card-max-width);