OEEChartWorkerGet: NonSPCChartWorkerGet & {
    detail?: OEEDetail[];
    factors: OEEFactorType[];
    groupBy?: TrendGroupBy;
    groupByTime?: TimeGroupByType;
}

Type declaration

  • Optionaldetail?: OEEDetail[]

    The current data used to draw the chart. Will be set to undefined if the chart has never been drawn, or if there was an error with the retrieval.

  • factors: OEEFactorType[]

    Which OEE factors to show. A separate graph will be drawn for each factor.

  • OptionalgroupBy?: TrendGroupBy

    How the data should be grouped within each graph.

    If groupByTime is set, a separate line will be drawn for each group.

    If groupByTime is not set, a separate bar will be drawn for each group.

    Numbers are treated as Traceability IDs. If a number is provided which does not correspond to an existing Traceability ID, an error will be thrown.

  • OptionalgroupByTime?: TimeGroupByType

    The time period to aggregate the graph over.

    If set, the data will be plotted as a time series with a line chart.

    If not set, the data will be plotted on a bar chart.