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

Is there a way to make width of chart responsive? #245

Open
mohammadfarooqi opened this issue Jun 6, 2018 · 3 comments
Open

Is there a way to make width of chart responsive? #245

mohammadfarooqi opened this issue Jun 6, 2018 · 3 comments
Assignees

Comments

@mohammadfarooqi
Copy link

At the moment if we are on a mobile or on screen the width of the table is of set length.

Is there a way to make the width of the chart responsive? So if on mobile the view of the width gets shortened?

Does the above make sense?

Thanks

@jpetitcolas
Copy link
Contributor

Yes, it makes absolutely sense! Even if it is not yet implemented. At least, it doesn't refresh width when resizing window. Yet, if you refresh your browser, it should work out of the box.

@mohammadfarooqi
Copy link
Author

Thanks @jpetitcolas. Got it. Not an issue. Just a followup question. Is it possible to insert an image in the left side where the labels are instead of using text?

For example where the text says 'admin-on-rest' I'd like a svg/png icon? Is that possible?

image

@jpetitcolas
Copy link
Contributor

jpetitcolas commented Jun 8, 2018

Currently not. But that's a nice addition (too much to be done! (-:). Can you create a separate issue for a better follow up?

As a reference, here is related part of code: https://github.com/marmelab/EventDrops/blob/master/src/dropLine.js#L45-L51

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

No branches or pull requests

3 participants