ods-charts
    Preparing search index...

    Interface ODSChartsThemeOptions

    ODSChartsThemeOptions is used to set options of the theme ODSCharts.getThemeManager( ODSChartsThemeOptions).

    interface ODSChartsThemeOptions {
        colors?: ODSChartsColorsSet | ODSChartsCustomColor[];
        cssSelector?: string;
        cssTheme?: ODSChartsCSSThemeDefinition;
        lineStyle?: ODSChartsLineStyle;
    }
    Index

    Properties

    colors is the set of colors to be used to graph the chart.

    It can be

    example: ODSCharts.ODSChartsColorsSet.SUPPORTING_COLORS.

    example:

         [
    {
    colorPalette:
    ODSCharts.ODSChartsColorsSet
    .SUPPORTING_COLORS,
    colorIndex: 2,
    },
    {
    colorPalette:
    ODSCharts.ODSChartsColorsSet.SEQUENTIAL_GREEN,
    colorIndex: 0,
    },
    ]

    Default colors is ODSChartsColorsSet.DEFAULT

    cssSelector?: string

    cssSelector the selector of the DOM element where the graph will be built. It is used to get css variable values when using a third party theme generator base on css variable like Boosted 5.

    Default cssSelector is 'body'

    cssTheme is the CSS styles to be used for designing legends and popover elements.

    Default cssTheme in ODSChartsCSSThemes is ODSChartsCSSThemes.NONE

    lineStyle?: ODSChartsLineStyle

    lineStyle specifies the style of line in lineCharts.

    It can be ODSChartsLineStyle.BROKEN, ODSChartsLineStyle.SMOOTH of ODSChartsLineStyle.BROKEN_WITH_POINTS.

    Default lineStyle is ODSChartsLineStyle.SMOOTH