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