Comments (3)
Hello! You can achieve this by specifying a custom maxY
value. In the compose
module, columnChart
and lineChart
have maxY
parameters: columnChart(maxY = 10f)
. In the view system, you can set a custom maxY
value as follows: chartView.chart?.maxY = 10f
(where chartView
is a reference to your ChartView
instance).
from vico.
Thank you, it works!
from vico.
Sure thing.
from vico.
Related Issues (20)
- Unresolved reference: com.patrykandpatrick.vico.compose.chart.CartesianChartHost HOT 5
- Animation from Y = 0 to real value
- `DynamicShader` equality checks
- How to Remove LineCart start end padding
- Exception when using Horizontal.fullWidth() with series with just 1 entry HOT 5
- 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
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.