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

C3.js issue - x-axis labels are overlapping with legends text for IE11 #2363

Open
chetan4651 opened this issue May 8, 2018 · 1 comment
Open

Comments

@chetan4651
Copy link

I am facing this issue with only IE 11. For chrome and Firefox, its working fine. I am using c3.js for charts with IBM bpm tool ( March 2018 patch updated ).

qyolf

I tried to transform with a stylesheet, but it won't work. Padding and margin are also not there for legends. I set position to bottom.

Does anyone know how to pull down legends so it will not overlap with x-axis labels?

  • Browser - IE 11:
  • OS - Win 7:
@alpeshv
Copy link

alpeshv commented May 25, 2018

Use the following versions of d3 and c3. You may also need to use multiline:false and rotate to some angle.

<script src="http://c3js.org/js/d3-5.4.0.min-e9c75f0e.js" type="text/javascript"></script>
<script src="http://c3js.org/js/c3.min-c6f0a732.js" type="text/javascript"></script>

These scripts will break pie chart tooltip. Workaround is to add the following css.

g.c3-chart g.c3-event-rects rect.c3-event-rect {
     pointer-events: none;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants