mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: Disable cross filtering on charts with no dimensions (#30176)
This commit is contained in:
committed by
GitHub
parent
0744abe87b
commit
3aafd29768
@@ -17,7 +17,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { Behavior, ChartMetadata, ChartPlugin, t } from '@superset-ui/core';
|
||||
import { ChartMetadata, ChartPlugin, t } from '@superset-ui/core';
|
||||
import buildQuery from './buildQuery';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
@@ -27,6 +27,7 @@ import example2 from './images/example2.png';
|
||||
import example3 from './images/example3.png';
|
||||
import { EchartsWaterfallChartProps, EchartsWaterfallFormData } from './types';
|
||||
|
||||
// TODO: Implement cross filtering
|
||||
export default class EchartsWaterfallChartPlugin extends ChartPlugin<
|
||||
EchartsWaterfallFormData,
|
||||
EchartsWaterfallChartProps
|
||||
@@ -47,7 +48,6 @@ export default class EchartsWaterfallChartPlugin extends ChartPlugin<
|
||||
controlPanel,
|
||||
loadChart: () => import('./EchartsWaterfall'),
|
||||
metadata: new ChartMetadata({
|
||||
behaviors: [Behavior.InteractiveChart],
|
||||
credits: ['https://echarts.apache.org'],
|
||||
category: t('Evolution'),
|
||||
description: t(
|
||||
|
||||
Reference in New Issue
Block a user