mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +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';
|
||||
@@ -26,6 +26,7 @@ import example1 from './images/example1.png';
|
||||
import example2 from './images/example2.png';
|
||||
import { HistogramChartProps, HistogramFormData } from './types';
|
||||
|
||||
// TODO: Implement cross filtering
|
||||
export default class EchartsHistogramChartPlugin extends ChartPlugin<
|
||||
HistogramFormData,
|
||||
HistogramChartProps
|
||||
@@ -46,7 +47,6 @@ export default class EchartsHistogramChartPlugin extends ChartPlugin<
|
||||
controlPanel,
|
||||
loadChart: () => import('./Histogram'),
|
||||
metadata: new ChartMetadata({
|
||||
behaviors: [Behavior.InteractiveChart],
|
||||
credits: ['https://echarts.apache.org'],
|
||||
category: t('Distribution'),
|
||||
description: t(
|
||||
|
||||
Reference in New Issue
Block a user