Skip to content

Variable: ChartResultSchema

const ChartResultSchema: ZodObject<{ chartType: ZodUnion<readonly [ZodLiteral<"bar">, ZodLiteral<"horizontalBar">, ZodLiteral<"line">, ZodLiteral<"area">, ZodLiteral<"combo">, ZodLiteral<"waterfall">, ZodLiteral<"scatter">, ZodLiteral<"heatmap">, ZodLiteral<"radar">, ZodLiteral<"pie">, ZodLiteral<"funnel">, ZodLiteral<"treemap">, ZodLiteral<"custom">]>; option: ZodRecord<ZodString, ZodUnknown>; }, $strip>

Resolved chart plan a settled chart entry carries on its result field. option is the full Echarts spec; pass straight into <ReactECharts option={...}>.