Closed merlinoa closed 4 years ago
Hi Andy,
Thanks, and thanks for reporting that. The issue seem also linked to Bootstrap's dropdown used by pickerInput
, it works fine with selectize.js.
I haven't a proper explanation for the issue, but this is linked to the container around the chart itself, if you remove it, the issue disappear. Try in renderApexchart
:
apex(data = n_manufac, type = "bar", mapping = aes(x = manufacturer, y = n)) %>%
ax_chart(parentHeightOffset = 0)
I think I'll make this the default, otherwise there are margins added to the chart, so if you set a height of 400px
, the real height will be 430px
...
Victor
Awesome thanks for the fix!
Hi thanks for the excellent package. I am very excited about using these charts in more of my Shiny apps.
For some odd reason my charts keep increasing in height. Please see a minimal examples below. Whenever I open the
pickerInput()
the chart increases in height a little bit. I found this possibly related issue in apexcharts: https://github.com/apexcharts/apexcharts.js/issues/460 . But I was not able to use the fix from that issue to resolve the issue in Shiny.The issue is occurring with both the CRAN version 0.1.1 and the development version from GitHub. Below is my sessionInfo using the CRAN version.