Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/ag-charts-community/src/chart/series/series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
type AnyFn,
CleanupRegistry,
EventEmitter,
type InternalAgColorType,
LRUCache,
Logger,
type Point,
Expand Down Expand Up @@ -611,7 +612,7 @@ export abstract class Series<
return opacity;
}

protected getHighlightState(
public getHighlightState(
highlightedDatum: HighlightNodeDatum | undefined,
isHighlight?: boolean,
datumIndex?: TDatumIndex,
Expand Down Expand Up @@ -692,7 +693,7 @@ export abstract class Series<
return highlightedDatum.datumIndex === datumIndex;
}

protected getHighlightStyle(
public getHighlightStyle(
isHighlight?: boolean,
datumIndex?: TDatumIndex,
highlightState?: HighlightState,
Expand All @@ -704,7 +705,7 @@ export abstract class Series<
}

protected abstract hasItemStylers(): boolean;
protected filterItemStylerFillParams(fill: AgColorType | undefined) {
public filterItemStylerFillParams(fill: AgColorType | undefined): InternalAgColorType | undefined {
if (isGradientFill(fill)) {
return without(fill, ['bounds', 'colorSpace', 'gradient', 'reverse']);
} else if (isPatternFill(fill)) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading