stz-util Documentation - v1.5.2
    Preparing search index...

    Variable customLegendConst

    customLegend: {
        _Default: {
            className: { box: string; item: string; list: string; text: string };
            containerID: string;
            getDatasetType: (
                chart: Chart,
                item: Record<string, any>,
            ) => undefined | (keyof ChartTypeRegistry);
            getItemText: (item: any) => any;
            styles: {
                box: (
                    item: any,
                    type: any,
                ) => {
                    backgroundColor: any;
                    borderColor: any;
                    borderRadius: string;
                    borderWidth: string;
                    height: string;
                    width: string;
                };
                text: { color: string; textDecoration: string };
                textHidden: { color: string; textDecoration: string };
            };
        };
        _fnc: (
            chart: Chart,
            id: string,
            options: { className: { list: string } },
        ) => undefined | HTMLDivElement;
        id: string;
        afterUpdate(chart: any, args: any, options: any): void;
    } = ...

    Type Declaration

    • _Default: {
          className: { box: string; item: string; list: string; text: string };
          containerID: string;
          getDatasetType: (
              chart: Chart,
              item: Record<string, any>,
          ) => undefined | (keyof ChartTypeRegistry);
          getItemText: (item: any) => any;
          styles: {
              box: (
                  item: any,
                  type: any,
              ) => {
                  backgroundColor: any;
                  borderColor: any;
                  borderRadius: string;
                  borderWidth: string;
                  height: string;
                  width: string;
              };
              text: { color: string; textDecoration: string };
              textHidden: { color: string; textDecoration: string };
          };
      }
    • _fnc: (
          chart: Chart,
          id: string,
          options: { className: { list: string } },
      ) => undefined | HTMLDivElement
    • id: string
    • afterUpdate: function
      • Parameters

        • chart: any
        • args: any
        • options: any

        Returns void