nova-chartjs icon indicating copy to clipboard operation
nova-chartjs copied to clipboard

Adjustable height

Open zeroxs opened this issue 2 years ago • 2 comments

I found https://github.com/coroo/nova-chartjs/issues/64 but it is from 2 years ago. Trying to adjust height via the card does not appear to work.

There's this: https://github.com/coroo/nova-chartjs/blob/f6603f5767d3deeb531340e71995cdc732d97b2f/resources/js/stripe-chart.vue#L15-L20

but it's not passed from https://github.com/coroo/nova-chartjs/blob/master/resources/js/components/StripeChart.vue unless I'm missing something here. Some guidance would be greatly appreciated.

zeroxs avatar Dec 19 '22 15:12 zeroxs

As a workaround you can do this:


#nova canvas#line-chart {
  height: 70vh !important;
}

vesper8 avatar Jan 16 '23 18:01 vesper8

is there an update on when the height issue will be resolved, having charts be only 120px tall is a pretty large regression especially when trying to render lots of data sets

Jonnx avatar Mar 20 '23 17:03 Jonnx