ods-charts
    Preparing search index...

    Class ODSChartsPopoverItem

    ODSChartsPopoverItem defines an item to be displayed in the popover/tooltip It is used in ODSChartsPopoverDefinition methods to customize the content of the popover/tooltip Example of use:

    themeManager.externalizePopover(undefined, {
    ...ODSCharts.ODSChartsPopoverManagers.NONE,
    getPopupContentLine: ({ seriesName, itemValue, seriesIndex }) => {
    return `<p>${themeManager.getPopoverMarker(seriesIndex)}This is my HTML code of one line for ${itemValue} of ${seriesName}</p>`;
    },
    });
    Index

    Constructors

    Properties

    dataIndex: number

    Data index in input data array

    itemColor: string

    Color used to display the item

    itemValue: any

    Value of the item

    label: string

    label of the series the item belongs to

    markerColor: string

    Color of the marker representing the series

    name: string

    Data name; or category name

    percent: number

    The percentage of current data item in the pie/funnel series

    seriesColor: string

    Color used to display the series. May differ from itemColor in some cases (like specific item coloring)

    seriesIndex: number

    Series index in option.series

    seriesName: string

    name of the series the item belongs to

    seriesType: string

    Series type

    tickIndex: number

    Current index of the axis label tick