Skip to content

Skeleton chart

Show design guidelines

Full chart-region skeleton: title, axes, axis labels, and scatter-style data dots. Set x-axis-label-count, y-axis-label-count, and data-count to mirror the final chart. Use is-random-data to either keep dot positions deterministic (default) or re-randomize on each render (for a more “live” placeholder).

HTML React Angular
<certara-skeleton-chart height="250px" x-axis-label-count="4" y-axis-label-count="4" data-count="8" >
</certara-skeleton-chart>
import { CertaraSkeletonChart } from '@certara/certara-ui-react';
<CertaraSkeletonChart height="250px" xAxisLabelCount={4} yAxisLabelCount={4} data-count={8}>
</CertaraSkeletonChart>
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-skeleton-chart height="250px" x-axis-label-count="4" y-axis-label-count="4" data-count="8">
</certara-skeleton-chart>

dataCount

Attributedata-count
Typenumber
Default10
Requiredfalse
DescriptionNumber of data point loaders to display in the scatter plot

height

Attributeheight
Typestring
Default'100%'
Requiredfalse
DescriptionHeight can accept any valid CSS value

isRandomData

Attributeis-random-data
Typeboolean
Defaultfalse
Requiredfalse
DescriptionWhether to use random positions / values for the loader “data”

variant

Attributevariant
Type"scatter"
Default'scatter'
Requiredfalse
DescriptionChoose among the set of skeleton chart types available as variants

width

Attributewidth
Typestring
Default'100%'
Requiredfalse
DescriptionWidth can accept any valid CSS value

xAxisLabelCount

Attributex-axis-label-count
Typenumber
Default6
Requiredfalse
DescriptionNumber of x-axis label loaders to display

yAxisLabelCount

Attributey-axis-label-count
Typenumber
Default6
Requiredfalse
DescriptionNumber of y-axis label loaders to display

There are no events available for this component

There are no public methods available for this component

There are no slots available for this component