Skip to content

Commit

Permalink
fixed: Minor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyan540 committed Dec 18, 2024
1 parent 8e17b5b commit f8cd257
Showing 1 changed file with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import {
TIME_SERIES_DESCRIPTION_TEXT,
} from '../../constants';


const {
logAxis,
minorSplitLine,
Expand Down Expand Up @@ -344,6 +345,40 @@ const config: ControlPanelConfig = {
...createAxisControl('y'),
],
},
{
label: t('Chart ToolTip View'),
expanded: true,
controlSetRows: [
[
{
name: 'custom_tooltip',
config: {
type: 'CheckboxControl',
label: t('Enable Custom Tooltip'),
renderTrigger: true,
default: logAxis,
description: t('Enables the custom Tooltip'),
disableStash: true,
resetOnHide: false,
},
},
],
[
{
name: 'custom_tooltip_text',
config: {
type: 'TextControl',
label: t('Text'),
renderTrigger: true,
default: '',
description: t('Description of Metric'),
disableStash: true,
resetOnHide: false,
},
},
],
],
},
],
formDataOverrides: formData => ({
...formData,
Expand Down

0 comments on commit f8cd257

Please sign in to comment.