Comments (9)
What you need is an X Axis accepting values instead of only indices/labels. This isn't supported by the library and I think it will be to difficult to find a workaround unless you go and dig into LineChartView
class and hack it in order to get it working for your specific case.
from williamchart.
Thank you for response.
Mhh. I will try to hack it on my own and let you know ;).
from williamchart.
I always try to comment everything the best as possible, I hope it is enough to get an understanding.
Fine, I will keep the issue opened for the time being.
from williamchart.
Perfect! Service/Support is great :), Thumbs up
from williamchart.
Is the problem solved?
from williamchart.
Can u be more specific? What problem?
from williamchart.
Is it possible to make horizontal Labels (String[]) from 1 to 30 AND set the points to 2, 10, 12, 20 (e.g.)?
Or do i have to set the same String[]-Lenght for the Points and the Labels?
Or maybe i can set @Null-Values to Skip the Points?
from williamchart.
No, what you're asking is not implemented. You always need to specify the same number of labels between datasets. What you can do, but I'm not sure it fits your needs or not, is to use endAt
and beginAt
methods in order to display only a subset of points. That is, imagine you have a dataset of 7 points but you only want to display a subset of them, between point 2 and 5, then you can do dataset.beginAt(1); dataset.endAt(4);
. Hope it helps.
from williamchart.
Thank you so much!
from williamchart.
Related Issues (20)
- Set chart_smoothLine to true leads chart to draw weird negative hooks
- Set decimals of Y-Axis values HOT 1
- Setting custom point drawable only for specific points HOT 2
- Provide a way to let tooltips draw values HOT 1
- Stack bar charts HOT 1
- It is posible to add a stroke with a specific color on touch/click event? HOT 1
- Animation not working using proGuard HOT 1
- Move repository Jcenter to mavenCentral() HOT 2
- Crashlytics Error: BarChartView.kt line 78 com.db.williamchart.view.BarChartView.drawBars
- How to set up Y axis right? HOT 1
- Grid not fitting the points (squeezed)
- Is it possible to add a small button to show value on line touched?
- crash on tooltip onDataPointTouch HOT 1
- BarChart crashing when changing data on runtime HOT 1
- Function to clear the chart
- No documentation found!!! HOT 2
- Don't have Zoom in feature
- Failed to resolve: williamchart:williamchart:unspecified HOT 3
- Colors provided do not match the number of datapoints HOT 1
- Center Aligned Graph Draw
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 williamchart.