Skip to content

Commit

Permalink
chore: remove unused hideLinesTooltips prop on LineAnnotationSpec (
Browse files Browse the repository at this point in the history
  • Loading branch information
nickofthyme authored Oct 23, 2024
1 parent d7f8652 commit aa5749d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions docs/docs/api/specs/xy/line_annotation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ The default position, if this property is not specified, falls back to the linke

Annotation lines are hidden

### `hideLinesTooltips`
- Type: <code>hideLinesTooltips?: boolean</code>
- Default: `true`

Hide tooltip when hovering over the line

### `zIndex`
- Type: <code>zIndex?: number</code>
- Default: `1`
Expand Down
1 change: 0 additions & 1 deletion packages/charts/api/charts.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,6 @@ export type LineAnnotationSpec<D = any> = BaseAnnotationSpec<typeof AnnotationTy
};
markerPosition?: Position;
hideLines?: boolean;
hideLinesTooltips?: boolean;
zIndex?: number;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const buildProps = buildSFProps<LineAnnotationSpec>()(
annotationType: AnnotationType.Line,
hideLines: false,
hideTooltips: false,
hideLinesTooltips: true,
zIndex: 1,
},
);
Expand Down
5 changes: 0 additions & 5 deletions packages/charts/src/chart_types/xy_chart/utils/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,11 +873,6 @@ export type LineAnnotationSpec<D = any> = BaseAnnotationSpec<
markerPosition?: Position;
/** Annotation lines are hidden */
hideLines?: boolean;
/**
* Hide tooltip when hovering over the line
* @defaultValue `true`
*/
hideLinesTooltips?: boolean;
/**
* z-index of the annotation relative to other elements in the chart
* @defaultValue 1
Expand Down

0 comments on commit aa5749d

Please sign in to comment.