Variable JSGraphConst

JSGraph: {
    getJSGraph: ((analyses, options?) => {
        axes: {
            x: {
                display: boolean;
                flipped: boolean;
                label: undefined | string;
                logScale?: boolean;
                unit: undefined | string;
                unitWrapperAfter: string;
                unitWrapperBefore: string;
                units?: string;
            };
            y: {
                display: boolean;
                flipped: boolean;
                label: undefined | string;
                logScale?: boolean;
                unit: undefined | string;
                unitWrapperAfter: string;
                unitWrapperBefore: string;
                units?: string;
            };
        };
        series: Record<string, unknown>[];
    });
    getNormalizationAnnotations: ((filter?, boundary?) => {
        fillColor: string;
        position: {
            x: number;
            y: string;
        }[];
        strokeWidth: number;
        type: string;
    }[]);
} = ...

Type declaration

  • getJSGraph: ((analyses, options?) => {
        axes: {
            x: {
                display: boolean;
                flipped: boolean;
                label: undefined | string;
                logScale?: boolean;
                unit: undefined | string;
                unitWrapperAfter: string;
                unitWrapperBefore: string;
                units?: string;
            };
            y: {
                display: boolean;
                flipped: boolean;
                label: undefined | string;
                logScale?: boolean;
                unit: undefined | string;
                unitWrapperAfter: string;
                unitWrapperBefore: string;
                units?: string;
            };
        };
        series: Record<string, unknown>[];
    })
      • (analyses, options?): {
            axes: {
                x: {
                    display: boolean;
                    flipped: boolean;
                    label: undefined | string;
                    logScale?: boolean;
                    unit: undefined | string;
                    unitWrapperAfter: string;
                    unitWrapperBefore: string;
                    units?: string;
                };
                y: {
                    display: boolean;
                    flipped: boolean;
                    label: undefined | string;
                    logScale?: boolean;
                    unit: undefined | string;
                    unitWrapperAfter: string;
                    unitWrapperBefore: string;
                    units?: string;
                };
            };
            series: Record<string, unknown>[];
        }
      • Generate a jsgraph chart format from an array of Analysis

        Parameters

        • analyses: Analysis[]
        • options: JSGraphOptions = {}

        Returns {
            axes: {
                x: {
                    display: boolean;
                    flipped: boolean;
                    label: undefined | string;
                    logScale?: boolean;
                    unit: undefined | string;
                    unitWrapperAfter: string;
                    unitWrapperBefore: string;
                    units?: string;
                };
                y: {
                    display: boolean;
                    flipped: boolean;
                    label: undefined | string;
                    logScale?: boolean;
                    unit: undefined | string;
                    unitWrapperAfter: string;
                    unitWrapperBefore: string;
                    units?: string;
                };
            };
            series: Record<string, unknown>[];
        }

        • axes: {
              x: {
                  display: boolean;
                  flipped: boolean;
                  label: undefined | string;
                  logScale?: boolean;
                  unit: undefined | string;
                  unitWrapperAfter: string;
                  unitWrapperBefore: string;
                  units?: string;
              };
              y: {
                  display: boolean;
                  flipped: boolean;
                  label: undefined | string;
                  logScale?: boolean;
                  unit: undefined | string;
                  unitWrapperAfter: string;
                  unitWrapperBefore: string;
                  units?: string;
              };
          }
          • x: {
                display: boolean;
                flipped: boolean;
                label: undefined | string;
                logScale?: boolean;
                unit: undefined | string;
                unitWrapperAfter: string;
                unitWrapperBefore: string;
                units?: string;
            }
            • display: boolean
            • flipped: boolean
            • label: undefined | string
            • Optional logScale?: boolean

              Change the scale to logarihtmic

              Default

              false
              
            • unit: undefined | string
            • unitWrapperAfter: string
            • unitWrapperBefore: string
            • Optional units?: string
          • y: {
                display: boolean;
                flipped: boolean;
                label: undefined | string;
                logScale?: boolean;
                unit: undefined | string;
                unitWrapperAfter: string;
                unitWrapperBefore: string;
                units?: string;
            }
            • display: boolean
            • flipped: boolean
            • label: undefined | string
            • Optional logScale?: boolean

              Change the scale to logarihtmic

              Default

              false
              
            • unit: undefined | string
            • unitWrapperAfter: string
            • unitWrapperBefore: string
            • Optional units?: string
        • series: Record<string, unknown>[]
  • getNormalizationAnnotations: ((filter?, boundary?) => {
        fillColor: string;
        position: {
            x: number;
            y: string;
        }[];
        strokeWidth: number;
        type: string;
    }[])
      • (filter?, boundary?): {
            fillColor: string;
            position: {
                x: number;
                y: string;
            }[];
            strokeWidth: number;
            type: string;
        }[]
      • Parameters

        • filter: AnnotationsFilter = {}
        • boundary: Boundary = ...

        Returns {
            fillColor: string;
            position: {
                x: number;
                y: string;
            }[];
            strokeWidth: number;
            type: string;
        }[]