Comments (1)
Hello! The error occurs because you have two ChartEntry
instances with identical x values in a single series. This violates the definition of a function. An x value can appear multiple times in one data set, but not in one series, which must be a valid mathematical mapping. Please use two series.
Regarding switching to Double
, this is something that we’ll be looking into for version 2, as many changes will be required. A workaround is described here.
Because the behavior in question isn’t a bug, I’ll be closing the issue, but please feel free to comment if you have any questions.
from vico.
Related Issues (20)
- 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
- Not able to see x-axis and y-axis labels in some devices. HOT 8
- Incorrect values displayed on X axis HOT 3
- IllegalStateException on ComposedChart with different xStep in children charts HOT 4
- 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
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.