Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart inside bootstrap 'collapse' element #4968

Closed
wants to merge 3 commits into from

Commits on Nov 19, 2017

  1. Chart inside bootstrap 'collapse' element

    When chart is inside a bootstrap 'collapse' element the width and height are zero and the chart 'draw' function throws an IndexSizeError because the outer/inner radius are computed using a zero width/height and when subtracting padding it results in a negative value.
    When element is collapsed it does not show anyway so adding Math.abs() to the radius will have no effect on the drawing itself but will eliminate the error.
    zoharshavit authored Nov 19, 2017
    Configuration menu
    Copy the full SHA
    7c46259 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2017

  1. Configuration menu
    Copy the full SHA
    0646509 View commit details
    Browse the repository at this point in the history
  2. Update helpers.canvas.js

    zoharshavit authored Nov 23, 2017
    Configuration menu
    Copy the full SHA
    496edaf View commit details
    Browse the repository at this point in the history