This question is locked. New answers and comments are not allowed.
Thank you so far to the team for accurate and timely response.
I have spent the last few days trying to understand how the demo's and i'm slowly getting there.
If acceptable to the team there, I'd like to make a rather unorthodox request. namely, I have a few lines of sample data and expected output and i'm hoping one of the fine engineers can create a sample that can then be a guide to newbies like myself. - the examples in the download are great, but unfortunately i'm an old fogey and they seem a little hard to replicate if venturing just a little off the exact example.
The reason for this request is to understand
a) The different elements (databindings,series,haxis etc) that need to be instantiated,populated etc before the chart can display
b) what the differences are when you create a simple line chart with one line and one with 2 lines
c) what one needs to do to make a chart scrollable (in my attempts I find some data is cut off at the top and cant be viewed or accessed)
If possible , it would be great if all the code is contained in an activity (rather than fragments that have increased boilerplate code)
The samples requested are a dual series line chart (see screenshot) and a clustered bar chart.
I believe that with these it will be possible to quickly understand the process.
Below is the sample data.
![]()
Time
Series 1
Series 2
20140703
23200
8655
20140702
15000
0
20140701
2000
0
20140630
2500
37425
20140629
1580
0
20140627
400
2058
20140626
2027
392
20140625
35054
31519
20140624
3548
1666
20140623
1800
4234
20140622
3249
0
20140621
377
6000
20140620
527
0
20140619
100
0
I have spent the last few days trying to understand how the demo's and i'm slowly getting there.
If acceptable to the team there, I'd like to make a rather unorthodox request. namely, I have a few lines of sample data and expected output and i'm hoping one of the fine engineers can create a sample that can then be a guide to newbies like myself. - the examples in the download are great, but unfortunately i'm an old fogey and they seem a little hard to replicate if venturing just a little off the exact example.
The reason for this request is to understand
a) The different elements (databindings,series,haxis etc) that need to be instantiated,populated etc before the chart can display
b) what the differences are when you create a simple line chart with one line and one with 2 lines
c) what one needs to do to make a chart scrollable (in my attempts I find some data is cut off at the top and cant be viewed or accessed)
If possible , it would be great if all the code is contained in an activity (rather than fragments that have increased boilerplate code)
The samples requested are a dual series line chart (see screenshot) and a clustered bar chart.
I believe that with these it will be possible to quickly understand the process.
Below is the sample data.
Time
Series 1
Series 2
20140703
23200
8655
20140702
15000
0
20140701
2000
0
20140630
2500
37425
20140629
1580
0
20140627
400
2058
20140626
2027
392
20140625
35054
31519
20140624
3548
1666
20140623
1800
4234
20140622
3249
0
20140621
377
6000
20140620
527
0
20140619
100
0