Home Forums Chart Support Almost working with expanding panel in Bootstrap 3

Almost working with expanding panel in Bootstrap 3

Viewing 2 posts - 1 through 2 (of 2 total)
  • #11338

    I’ve gotten my charts to do most of what I want, but…

    I display my charts (several) within a bootstrap collapse panel. This panel is normally collapsed – I expand when I want to view the charts.

    The problem I’m having is if I create & render the charts while the panel is collapsed, the charts look…wrong. If I then re-size the browser window in any way, the charts immediately fix themselves to the proper sizing and everything is great. But I have to re-size the browser.

    If I create/render the charts and have the panel initially expanded they work fine. But I don’t want the panel open initially!

    Is there a method that will refresh the chart?

    #11339

    HeavyThumper,

    You have to initialize the chart on shown.bs.collapse event in bootstrap. Here is an example.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.