mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
fix(charts): big-number display broken in echarts (#24492)
Co-authored-by: aadhikari <aadhikari@apple.com>
This commit is contained in:
@@ -16,20 +16,21 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { Behavior, ChartMetadata, ChartPlugin, t } from '@superset-ui/core';
|
||||
import { Behavior, t } from '@superset-ui/core';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example from './images/example.jpg';
|
||||
import buildQuery from './buildQuery';
|
||||
import { EchartsChartPlugin } from '../types';
|
||||
|
||||
export default class EchartsGraphChartPlugin extends ChartPlugin {
|
||||
export default class EchartsGraphChartPlugin extends EchartsChartPlugin {
|
||||
constructor() {
|
||||
super({
|
||||
buildQuery,
|
||||
controlPanel,
|
||||
loadChart: () => import('./EchartsGraph'),
|
||||
metadata: new ChartMetadata({
|
||||
metadata: {
|
||||
category: t('Flow'),
|
||||
credits: ['https://echarts.apache.org'],
|
||||
description: t(
|
||||
@@ -53,7 +54,7 @@ export default class EchartsGraphChartPlugin extends ChartPlugin {
|
||||
Behavior.DRILL_TO_DETAIL,
|
||||
Behavior.DRILL_BY,
|
||||
],
|
||||
}),
|
||||
},
|
||||
transformProps,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user