Comments (1)
Hello! The size of axis labels is limited horizontally so that they don’t stick out past the edges of corresponding chart segment:
In order to ensure that longer labels fit, you’d have to make the chart segments wider (for example, if you’re working with a column chart, by making the columns wider). It’s also worth noting that you can create multi-line labels. Some further notes:
-
For horizontal axes,
SizeConstraint
controls the height of the axis. This can impact axis labels, but in your case, the truncation is occurring due to insufficient horizontal space. -
There is a bug in Vico 1.0.0 Alpha 3 that may cause rotated axis labels to be incorrectly truncated. This will be fixed with the next update. However, in your case, the bug doesn’t affect the way axis labels are drawn.
from vico.
Related Issues (20)
- Collection contains no element matching the predicate HOT 4
- Line chart with only one value doesn't display long x value even when there is space for it HOT 3
- 2.0.0-alpha.11 sample app main screen goes blank HOT 3
- Space above line chart. HOT 2
- IllegalStateException: Reading a state with latest compose alphas HOT 1
- Marker didn't show "0" value HOT 5
- Data Labels for Stacked bar chart have wrong position and value HOT 2
- Marker missing style defined by custom MarkerLabelFormatter HOT 7
- Cannot access CartesianChartHost in my project HOT 2
- Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied HOT 6
- Cannot make a LabelFormatter on stacked column chart HOT 11
- Markers only works for the first line series HOT 2
- Crash on changing dataset which contains negative values HOT 3
- Throwing OOM Exception when using Chart in LazyColumn HOT 6
- Marker duplicated HOT 2
- No axisValueOverrider in rememberCandlestickCartesianLayer HOT 4
- Feature Missing - Slide to Position HOT 4
- Text alignment on y-axis label only shown correctly for ALIGN_NORMAL HOT 3
- [View] CartesianChartView always handles touches, even if `isClickable` or `isEnabled` is false HOT 4
- Cannot Round NaN to Float HOT 4
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 vico.