BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hi i would like to know if its possible to put different color on each Column series that its generated by data source??
.Series(ser =>
{
ser.Name("My Brands");
ser.DataSource((IEnumerable<object>)ViewBag.brand);
ser.LabelPosition(ChartLabelPosition.Outside);
ser.Marker(mr => mr
.DataLabel(label => label
.Visible(true)
.Offset(15)
.Font(font => font.Color("black").Size("12px"))
)
);
ser.Explode(true);
ser.XName("Brand");
ser.YName("Total");
ser.Font(f =>
{
f.Size("px");
f.Color("#8CC640");
});
ser.Add();
})
[CSHTML] @(Html.EJ().Chart("container") .Series(ser => { ser.PointColorMappingName("Color"); }) ) |
Thx a lot for the reply,