fix(echarts): pass vizType to enable theme overrides in all chart types (#36389)

This commit is contained in:
Gabriel Torres Ruiz
2025-12-04 13:51:40 -04:00
committed by GitHub
parent 4a249a0745
commit 1d8d30e5bb
12 changed files with 23 additions and 7 deletions

View File

@@ -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}
/>
);
}