[@portaljs/components,line chart][xs]: fix linechart width
This commit is contained in:
parent
dfab6aa318
commit
add2f6d0f3
5
.changeset/brown-chairs-breathe.md
Normal file
5
.changeset/brown-chairs-breathe.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@portaljs/components': patch
|
||||
---
|
||||
|
||||
Fix width of the <LineChart /> component
|
||||
@ -35,7 +35,7 @@ export function LineChart({
|
||||
const spec = {
|
||||
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
|
||||
title,
|
||||
width: 600,
|
||||
width: 'container',
|
||||
height: 300,
|
||||
mark: {
|
||||
type: 'line',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user