Customize the comparison
You may provide a Datagrok function to customize the comparison of the historical runs. For example, you may add particular viewers to your comparison or make additional comparative analysis.
- Custom comparison
- Enabling custom data upload
- Custom data uploader
Your script header
//meta.compareCustomizer: Compute:CustomCustomizer
package.ts
//name: CustomCustomizer
//input: object params
export function CustomCustomizer(params: {defaultView: DG.TableView}) {
const comparisonView = params.defaultView;
comparisonView.scatterPlot({
"xColumnName": "Initial temperature",
"yColumnName": "Time to cool",
});
}
Customization API
Customizer function should have //input: object params
in the header.
This object will contain defaultView
reference to the default-contructed DG.TableView.
Customizations may be applied directly using this reference.