question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I am trying to set the width of the chart to 100%, but nothing is happening. Is it possible to do with your charts?

My Code: <View> <PureChart data={sampleData} type='line' width='100%'/> </View>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
violabgcommented, May 9, 2018

still not be able to have charts at 100% width on a view

1reaction
shierrocommented, Nov 18, 2018

Hi @oksktank , are there any work arounds that you can suggest here? thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Does "width: 100%" Do in CSS? - Impressive Webs
One case where you might use width: 100% is when the element is inheriting a set width value that you want to override....
Read more >
difference between width auto and width 100 percent
Width auto. The initial width of a block level element like div or p is auto. This makes it expand to occupy all...
Read more >
CSS width property - W3Schools
Set the width of an <input type="text"> element to 100px. However, when it gets focus, make it 250px wide: input[type=text] { width: 100px;...
Read more >
CSS width auto vs 100% | What's the difference? - YouTube
A look at the difference between width: auto and width : 100 %#css--Come hang out with other dev's in my Discord Community ...
Read more >
width | CSS-Tricks
width : 100% define the element to be 100% of the width of the parent container that got defined dimensions. max-width: 100 %...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found