Skip to content

Commit

Permalink
fix(bar-chart-v2): remove marker from bar chart V2 (#20409)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ committed Jun 17, 2022
1 parent 41bbf62 commit b32288f
Showing 1 changed file with 0 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ import {
const {
contributionMode,
logAxis,
markerEnabled,
markerSize,
minorSplitLine,
rowLimit,
truncateYAxis,
Expand Down Expand Up @@ -341,38 +339,6 @@ const config: ControlPanelConfig = {
controlSetRows: [
['color_scheme'],
...showValueSection,
[
{
name: 'markerEnabled',
config: {
type: 'CheckboxControl',
label: t('Marker'),
renderTrigger: true,
default: markerEnabled,
description: t(
'Draw a marker on data points. Only applicable for line types.',
),
},
},
],
[
{
name: 'markerSize',
config: {
type: 'SliderControl',
label: t('Marker Size'),
renderTrigger: true,
min: 0,
max: 20,
default: markerSize,
description: t(
'Size of marker. Also applies to forecast observations.',
),
visibility: ({ controls }: ControlPanelsContainerProps) =>
Boolean(controls?.markerEnabled?.value),
},
},
],
[
{
name: 'zoomable',
Expand Down

0 comments on commit b32288f

Please sign in to comment.