You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reviewing comparison graphs in a model-check report, it is sometimes helpful to see additional datasets directly inside the comparison graph for reference purposes.
I will add a new optional method to the ComparisonDatasetOptions interface that allows for this:
/** * Describes an extra plot to be shown in a comparison graph. */exportinterfaceComparisonPlot{/** The dataset key for the plot. */datasetKey: DatasetKey/** The plot color. */color: string/** The plot style. If undefined, defaults to 'normal'. */style?: 'normal'|'dashed'/** The plot line width, in px units. If undefined, a default width will be used. */lineWidth?: number}exportinterfaceComparisonDatasetOptions{// .../** * An optional function that allows for including additional reference plots * on a comparison graph for a given dataset and scenario. By default, no * additional reference plots are included, but if a custom function is * provided, it can return an array of `ComparisonPlot` objects. */referencePlotsForDataset?: (dataset: ComparisonDataset,scenario: ComparisonScenario)=>ComparisonPlot[]}
Example from the sample-check-app:
The text was updated successfully, but these errors were encountered:
When reviewing comparison graphs in a model-check report, it is sometimes helpful to see additional datasets directly inside the comparison graph for reference purposes.
I will add a new optional method to the
ComparisonDatasetOptions
interface that allows for this:Example from the sample-check-app:
The text was updated successfully, but these errors were encountered: