Skip to content

Commit

Permalink
[ML] Update grid and header
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Aug 26, 2020
1 parent 9aa5d81 commit a71e190
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export const DecisionPathChart = ({
const baselineData: LineAnnotationDatum[] = useMemo(
() => [
{
dataValue: baseline ? baseline : undefined,
dataValue: baseline,
header: baseline ? baseline.toPrecision(NUM_PRECISION) : '',
details: i18n.translate(
'xpack.ml.dataframe.analytics.explorationResults.decisionPathBaselineText',
{
Expand All @@ -118,7 +119,6 @@ export const DecisionPathChart = ({
dataValues={baselineData}
style={baselineStyle}
marker={AnnotationBaselineMarker}
header={baseline.toPrecision(NUM_PRECISION)}
/>
)}

Expand All @@ -132,7 +132,7 @@ export const DecisionPathChart = ({
values: { predictionFieldName },
}
)}
showGridLines={true}
showGridLines={false}
position={Position.Top}
showOverlappingTicks
domain={
Expand Down

0 comments on commit a71e190

Please sign in to comment.