Hey Srihari,
Thanks for the recommendation with fill.
Question 1:
How about if I want to map the data to actual points like I have in the example with this.chartData. Currently in your example you are mapping all of the columns in the chart to 1 data point.
However in a suitable real world use case you would be working with a variety of objects in an array like so:
this.chartData = [{ country: 'USA', gold: 50, color: 'red' },
{ country: 'China', gold: 40, color: 'black' },
{ country: 'Japan', gold: 70, color: 'yellow' },
{ country: 'Australia', gold: 60, color: 'purple' },
{ country: 'France', gold: 50, color: 'orange' },
{ country: 'Germany', gold: 40, color: 'red' },
{ country: 'Italy', gold: 40, color: 'brown' },
{ country: 'Sweden', gold: 30, color: 'blue' }];
Question 2:
What if you want to show each of the data points (e.g. e.g. USA has gold count of 50, China of 40) in the legend alongside color, and country name.
I mocked up an example for you.
Feel free to let me know if I'm unclear with anything.