-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Labels
enhancementNew feature or requestNew feature or requestfrom migrationThese issues were migrated from Joelius300s repository and more information can be found thereThese issues were migrated from Joelius300s repository and more information can be found there
Milestone
Description
Describe the feature request
Use the filling modes for Line and Radar chart in a typesafe manner.
The properties are already there in LineDataset and in RadarDataset.
- In
LineDatasetit's of typeboolso you can only disable it or use 'origin' (alias when true). - In
RadarDatasetit's of typeobjectand there is a description to what values you can use.
Describe the solution you'd like
We need a class FillingMode (derives from ObjectEnum) where you can use either an int, a string or a bool (private constructors). The supported values are here and you can also see the use cases below.
Here are the use cases we need to support:
Fill = FillingMode.Relative(2)Fill = FillingMode.Relative(-1)Fill = FillingMode.Absolute(1)Fill = FillingMode.Disabled-> We might also useFillingMode.OffFill = FillingMode.OriginFill = FillingMode.StartFill = FillingMode.End
A nice to have would be to allow implicit boolean conversion which would be defined like this:
false = FillingMode.Disabledtrue = FillingMode.Origin
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfrom migrationThese issues were migrated from Joelius300s repository and more information can be found thereThese issues were migrated from Joelius300s repository and more information can be found there