mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
* #14063 Scale of axis on Data Quality Chart * miner fix
This commit is contained in:
parent
a694cc5cc9
commit
065dc4be42
@ -254,10 +254,11 @@ const CustomMetricGraphs = ({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<YAxis
|
<YAxis
|
||||||
|
domain={['min', 'max']}
|
||||||
padding={{ top: 16, bottom: 16 }}
|
padding={{ top: 16, bottom: 16 }}
|
||||||
tick={{ fontSize: 12 }}
|
tick={{ fontSize: 12 }}
|
||||||
tickFormatter={(props) => axisTickFormatter(props)}
|
tickFormatter={(props) => axisTickFormatter(props)}
|
||||||
type="category"
|
type="number"
|
||||||
/>
|
/>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
formatter={(value: number | string) =>
|
formatter={(value: number | string) =>
|
||||||
|
@ -327,6 +327,7 @@ const TestSummary: React.FC<TestSummaryProps> = ({ data }) => {
|
|||||||
/>
|
/>
|
||||||
<YAxis
|
<YAxis
|
||||||
allowDataOverflow
|
allowDataOverflow
|
||||||
|
domain={['min', 'max']}
|
||||||
padding={{ top: 8, bottom: 8 }}
|
padding={{ top: 8, bottom: 8 }}
|
||||||
tickFormatter={(value) => axisTickFormatter(value)}
|
tickFormatter={(value) => axisTickFormatter(value)}
|
||||||
/>
|
/>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
import { Card, Typography } from 'antd';
|
import { Card, Typography } from 'antd';
|
||||||
import { entries, isNumber, isString, omit, startCase } from 'lodash';
|
import { entries, isNumber, isString, omit, startCase } from 'lodash';
|
||||||
import React from 'react';
|
import React, { Fragment } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import { TooltipProps } from 'recharts';
|
import { TooltipProps } from 'recharts';
|
||||||
@ -40,7 +40,7 @@ const TestSummaryCustomTooltip = (
|
|||||||
]) => {
|
]) => {
|
||||||
if (key === 'task' && !isString(value) && !isNumber(value)) {
|
if (key === 'task' && !isString(value) && !isNumber(value)) {
|
||||||
return value?.task ? (
|
return value?.task ? (
|
||||||
<>
|
<Fragment key={`item-${key}`}>
|
||||||
<li
|
<li
|
||||||
className="d-flex items-center justify-between gap-6 p-b-xss text-sm"
|
className="d-flex items-center justify-between gap-6 p-b-xss text-sm"
|
||||||
key="item-incident">
|
key="item-incident">
|
||||||
@ -66,7 +66,7 @@ const TestSummaryCustomTooltip = (
|
|||||||
<OwnerLabel owner={value.task.assignees[0]} />
|
<OwnerLabel owner={value.task.assignees[0]} />
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</>
|
</Fragment>
|
||||||
) : null;
|
) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user