mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix(echarts): pass vizType to enable theme overrides in all chart types (#36389)
This commit is contained in:
committed by
GitHub
parent
4a249a0745
commit
1d8d30e5bb
@@ -16,21 +16,23 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { EchartsProps } from '../types';
|
||||
import { TreeTransformedProps } from './types';
|
||||
import Echart from '../components/Echart';
|
||||
|
||||
export default function EchartsGraph({
|
||||
export default function EchartsTree({
|
||||
echartOptions,
|
||||
height,
|
||||
refs,
|
||||
width,
|
||||
}: EchartsProps) {
|
||||
formData,
|
||||
}: TreeTransformedProps) {
|
||||
return (
|
||||
<Echart
|
||||
refs={refs}
|
||||
height={height}
|
||||
width={width}
|
||||
echartOptions={echartOptions}
|
||||
vizType={formData.vizType}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user