Example of Multi Colored Line in ASP.NET MVC Chart Control
This sample demonstrates a multi-colored line chart showing the average January temperature in the United States from 1895 to 2025. Each data point is represented with a unique color, and hovering over the points reveals detailed information through tooltips.
In this example, you can see how to render and configure each point in line type series. Multicolored line charts are used to represent time-dependent data to show the trends at equal intervals with their individual colors by using PointColorMappingopens in a new tab.
Tooltip
is enabled in this example. To see a tooltip in action, hover over or tap on the chart.
More information about the multi-colored line series can be found in this documentation sectionopens in a new tab.