forked from ddrilling/asb_cloud_front
Исправлена ширина всплывающей подсказки на графике Телеметрия - Мониторинг
This commit is contained in:
parent
9d0ddc6f21
commit
d792f75861
@ -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> = {
|
||||
|
@ -255,7 +255,6 @@ const Archive = memo(() => {
|
||||
plugins={{
|
||||
menu: { enabled: false },
|
||||
cursor: {
|
||||
width: 230,
|
||||
render: cursorRender,
|
||||
}
|
||||
}}
|
||||
|
@ -295,7 +295,6 @@ const TelemetryView = memo(() => {
|
||||
plugins={{
|
||||
menu: { enabled: false },
|
||||
cursor: {
|
||||
width: 230,
|
||||
render: cursorRender,
|
||||
},
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user