mattosaurus / ChartJSCore

Implementation of Chart.js for use with .NET Core.
GNU General Public License v3.0
116 stars 34 forks source link

LineDataSet "Fill" #64

Closed aherrick closed 3 years ago

aherrick commented 3 years ago

Why is the LineDataSet Fill property a string not a bool?

/// <summary>
        /// If true, fill the area under the line.
        /// </summary>
        [JsonConverter(typeof(BoolIntStringConverter))]
        public string Fill { get; set; }
mattosaurus commented 3 years ago

Fill can be either a bool, int or string according to the documentation.

https://www.chartjs.org/docs/latest/charts/area.html#filling-modes