Skip to content

dynamically resize charts for different screen sizes #24

@KatiRG

Description

@KatiRG

dc.js gitter recommends:

-remove width parameter from chart definition
-make an event listener to check for window resizing:
window.addEventListener('resize', dc.renderAll);
-dc should automatically set the width based on the size defined in index.html, e.g.
<div class=".col-md-5"><div class="dc-chart"></div></div>

Status: in progress, not working yet!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions