Line Chart > Dynamic Dataset Color
1. Click on hamburger icon.
2. Click on dashboard tab and open Line Chart in edit mode.
3. The Edit menu box appears as you click on Line chart icon. And a widget gets added in content place automatically in dashboard.
4. Enter Following details in chart controls:
Datasets: Country Color 2.cds
Category Axis: country
Value Column: CreditLimit
Aggregation: sum
5. Fill above details in edit box, As Shown in figure.
6. In Formatting click on General. In General click on Dynamic dataset color
7. Dynamic dataset color: colors
8. Click on Preview and Save and Exit.
9. Now, match your Line chart with the below example, it should look like the figure below: