2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
Essential Chart allows you to customize the color and border of each point in the series by using Fill and Border properties of points. Column type series like column, bar, etc., and financial type series like Candle, Hilo, and Hilo-open-close, scatter, and bubble series support customizing each point in a series. This is not applicable to the series types like line, area, pie, polar, etc., drawn by using the SVG path element.
@(Html.EJ().Chart("container") . . . . . . . . . . . . . . .Series(series => { series.Name("Gold").Points( points => { points.X("Usa").Y(50).Fill("gold") .Border(border=>border.Color("black").Width(2)).Add(); points.X("Australia").Y(60).Add(); points.X("France").Y(50).Fill("#3ef34c") .Border(border=>border.Color("black").Width(2)).Add(); }).Add(); . . . . . . . . . . . . . . . . . . . . } ) )
The output of the above code is similar to the following screenshot. Figure 1: Chart using different colors for third and fifth points
Sample Link: Chart Customization |
2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.