Исправлена ширина всплывающей подсказки на графике Телеметрия - Мониторинг

This commit is contained in:
ts_salikhov 2022-09-06 19:39:26 +04:00
parent 9d0ddc6f21
commit d792f75861
3 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@ import '@styles/d3.less'
type D3GroupRenderFunction<DataType> = (group: ChartGroup<DataType>, data: DataType[]) => ReactNode
export type D3HorizontalCursorSettings<DataType> = {
spaceBetweenGroups?: number
width?: number
height?: number
render?: D3GroupRenderFunction<DataType>
position?: D3TooltipPosition
@ -28,6 +28,7 @@ export type D3HorizontalCursorProps<DataType> = D3HorizontalCursorSettings<DataT
data: DataType[]
sizes: ChartSizes
yAxis?: d3.ScaleTime<number, number>
spaceBetweenGroups?: number
}
const defaultLineStyle: SVGProps<SVGLineElement> = {

View File

@ -255,7 +255,6 @@ const Archive = memo(() => {
plugins={{
menu: { enabled: false },
cursor: {
width: 230,
render: cursorRender,
}
}}

View File

@ -295,7 +295,6 @@ const TelemetryView = memo(() => {
plugins={{
menu: { enabled: false },
cursor: {
width: 230,
render: cursorRender,
},
}}