ChartView
ChartView copied to clipboard
add support showing label for xAxis in LineChart
Description
Add ability to label xAxis in ChartView
LineView(
data: [8,23,54,32,12,37,7,23,43],
xAxisData: ["10-01-2013", "10-02-2013", "10-03-2013", "10-04-2013", "10-05-2013", "10-06-2013", "10-07-2013","10-08-2013","10-09-2013"], // New field
title: "Line chart",
legend: "Full screen"
)
Motivation and Context
In LineChart the data may contain not only yAxis but may contain xAxis that represents, for example, date of data
How Has This Been Tested?
Tested using examples project
Screenshots (if appropriate):

Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Non-functional change (Updating Documentation, CI automation, etc..)
Checklist:
- [x] My code follows the code style of this project.
- [x] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
Any chance that this PR would be merged ?
We are also in the process of selecting chart libraries and this is one of the libraries we are considering. I could not find a way to format xAxis labels (eg: date) and I find this PR probably aims to solve the issue. Can you guys confirm if there is a way to format xAxis labels or this PR is the way to go?