Comments (2)
Hi, i got the same problem with smaller values to be represented.
I implemented two solutions:
-
text within the bar + clip content if too short
table.charts-css.bar tbody span.data { white-space: nowrap; overflow: hidden; }
-
text in the middle of the bar's edge
table.charts-css.bar tbody span.data { white-space: nowrap; position: relative; left: 1rem; /* increment this to move to the right */ }
Hope this helps and/or be included in the sources 😃
from charts.css.
I was thinking if there is a way to pad some spaces so that the data can be shown on the end (either left or right, depending on the direction of the graph was set) of the data axes without overflowing to the outside of the div area.
from charts.css.
Related Issues (20)
- v1.0.1 seems not compatible with 0.9.0 HOT 4
- Data label upright on pie charts HOT 2
- Second axes breaks Firefox B&W printing
- Replace color-adjust with print-color-adjust
- hidden 'data' in 'area'
- Pie chart tooltip HOT 4
- Avoid spacing in area charts
- Donut pie charts HOT 1
- Pie charts don't support advanced colors
- Divide CSS file in smaller packages?
- Overlapping Bar and Column Chart HOT 1
- Grouped stacked columns
- What are the hurdles to getting pie charts added? HOT 5
- Is there a way to make line thickness uniform for line charts? HOT 5
- Line gets clipped in line chart when value is 100% HOT 4
- Enhancement idea: Can we improve things with css `attr` values? HOT 1
- Scatterplots HOT 1
- Table Data Cells <td> interfering with responsive Table <table> elements (Safari v15 MacOS)
- Absence of percentage label in pie charts
- Which browsers are supported? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.css.