mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +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 { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
|
||||
import { t } from '@superset-ui/core';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example from './images/tree.png';
|
||||
import buildQuery from './buildQuery';
|
||||
import { EchartsChartPlugin } from '../types';
|
||||
|
||||
export default class EchartsTreeChartPlugin extends ChartPlugin {
|
||||
export default class EchartsTreeChartPlugin extends EchartsChartPlugin {
|
||||
constructor() {
|
||||
super({
|
||||
buildQuery,
|
||||
controlPanel,
|
||||
loadChart: () => import('./EchartsTree'),
|
||||
metadata: new ChartMetadata({
|
||||
metadata: {
|
||||
category: t('Part of a Whole'),
|
||||
credits: ['https://echarts.apache.org'],
|
||||
description: t(
|
||||
@@ -45,7 +46,7 @@ export default class EchartsTreeChartPlugin extends ChartPlugin {
|
||||
t('Structural'),
|
||||
],
|
||||
thumbnail,
|
||||
}),
|
||||
},
|
||||
transformProps,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user