Comments (3)
Hi @patrykmichalik this will probably solve the alignment, and you can use mappers to make sure multiple lines with \n comes to the right place with TextComponent. Could this be made into a new release and published?
I'd recommend that vico add support to have entries that is not based in Number as well, it sets a bad example to have to resort to use \n in order to solve multi-line, and have own mapper logic to make this work.
Other than that, fantastic work with the stability of this library!
from vico.
Hello! Version 1.5.2 adds a textAlign
field to TextComponent
. As you’ve noted, you can use this and the newline character to achieve the desired result. Regarding your suggestion, could you elaborate on what kind of solution for multi-line text you’d like to see added? When lineCount
is greater than 1, automatic text wrapping is used.
from vico.
I’ll be closing this issue due to inactivity, but please feel free to reopen it. Thank you for your suggestions!
from vico.
Related Issues (20)
- unable to add ChartModelProducer<ChartEntryModel> HOT 3
- At the beginning and at the end the label of bottom axis is cut off if you add a point to the lineChart HOT 3
- WearOS NoClassDefFoundError / ClassNotFoundException HOT 1
- X Axis is wrapping HOT 1
- AxisValueFormatter lambda has values not in my list HOT 2
- Dataset for a single point on the x-axis causes "java.lang.IllegalArgumentException: The precision of the x values is too large. The maximum is two decimal places." HOT 1
- ChartValuesProvider "IllegalStateException" HOT 14
- Chart fails to load all sets after loading 0 values HOT 6
- Compose Recomposition causing an Error HOT 3
- Marker Color field is always overridden HOT 6
- Decoration is not drawn above chart in ComposedChart HOT 4
- StackOverflowError when calling ChartEntryModelProducer::setEntries() HOT 7
- MutableExtraStore is making tests fail HOT 6
- Chart does not update bar colors properly HOT 1
- Only One AxisValueOverrider Used HOT 3
- Unexpected background shader when using View Mode in examples Chart 7. HOT 2
- The library prevents effective minification (by depending on `androidx.compose.ui:ui-tooling`) HOT 4
- Crash and no display if only one value on X HOT 8
- Missing LinearGradientShader for view module HOT 1
- Not able to grab a screenshot test of a graph HOT 13
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.