Here you can see the current structure of the DatasetOption with all it's properties.
You can handle a set of datasets and their corresponding dataset options with the abstract class DatasetService. And implementation of this DatasetService provides the following properties, which can be included for example in the D3TimeseriesGraphComponent to display the set of datasets:
datasetids
- An array of datasetIdsdatasetOptions
- A mapped object of the datasetId and a dataset options objectYou can implement this abstract class DatasetService with the following methods:
createStyles
- This is the default creation of a DatasetOptions, when you add a Dataset without a predefined DatasetOptionsaveState
- Implementation of a mechansim to save this set of DatasetOptions (e.g. in the local storage or to an server)loadState
- The corresponding loading machanism to the save method.