asantibanez / livewire-charts

Neat Livewire Charts for your Laravel projects
MIT License
788 stars 116 forks source link

Area chart is cut on left side #33

Open black-forest-digital opened 3 years ago

black-forest-digital commented 3 years ago

Describe the bug When using an area chart with the settings listed below, the left side is cut out of the view and the first x-axis label is not readable. Andy idea how to manage a padding or something?

To Reproduce Steps to reproduce the behavior:

LivewireCharts::areaChartModel()
                    ->setColor('#00de7f')
                    ->setAnimated(false)
                    ->withOnPointClickEvent('onPointClick')
                    ->setSmoothCurve()
                    ->setDataLabelsEnabled(true)
                    ->setStrokeWidth(6)
                    ->setYAxisVisible(false)
                    ->setXAxisVisible(true)

Expected behavior Left side spacing

Screenshots screen-x-axis

ThomasAKaestner commented 3 years ago

@black-forest-digital did you find a solution?

black-forest-digital commented 3 years ago

@black-forest-digital did you find a solution?

No, I fiddled around with the css but did't manage to fix it. Do you have the same problem?

zofe commented 1 year ago

Has anyone found a solution?