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
|
type D3GroupRenderFunction<DataType> = (group: ChartGroup<DataType>, data: DataType[]) => ReactNode
|
||||||
|
|
||||||
export type D3HorizontalCursorSettings<DataType> = {
|
export type D3HorizontalCursorSettings<DataType> = {
|
||||||
spaceBetweenGroups?: number
|
width?: number
|
||||||
height?: number
|
height?: number
|
||||||
render?: D3GroupRenderFunction<DataType>
|
render?: D3GroupRenderFunction<DataType>
|
||||||
position?: D3TooltipPosition
|
position?: D3TooltipPosition
|
||||||
@ -28,6 +28,7 @@ export type D3HorizontalCursorProps<DataType> = D3HorizontalCursorSettings<DataT
|
|||||||
data: DataType[]
|
data: DataType[]
|
||||||
sizes: ChartSizes
|
sizes: ChartSizes
|
||||||
yAxis?: d3.ScaleTime<number, number>
|
yAxis?: d3.ScaleTime<number, number>
|
||||||
|
spaceBetweenGroups?: number
|
||||||
}
|
}
|
||||||
|
|
||||||
const defaultLineStyle: SVGProps<SVGLineElement> = {
|
const defaultLineStyle: SVGProps<SVGLineElement> = {
|
||||||
|
@ -255,7 +255,6 @@ const Archive = memo(() => {
|
|||||||
plugins={{
|
plugins={{
|
||||||
menu: { enabled: false },
|
menu: { enabled: false },
|
||||||
cursor: {
|
cursor: {
|
||||||
width: 230,
|
|
||||||
render: cursorRender,
|
render: cursorRender,
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
@ -295,7 +295,6 @@ const TelemetryView = memo(() => {
|
|||||||
plugins={{
|
plugins={{
|
||||||
menu: { enabled: false },
|
menu: { enabled: false },
|
||||||
cursor: {
|
cursor: {
|
||||||
width: 230,
|
|
||||||
render: cursorRender,
|
render: cursorRender,
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user