Hi Sebastian,

Please checkout this demo.
https://echarts.apache.org/examples/zh/editor.html?c=gauge-multi-title
It seems related to your requirement.


Thanks

*Ovilia*


On Wed, Feb 15, 2023 at 12:24 AM Morawitz, Sebastian <
sebastian.moraw...@etm.at> wrote:

> Hello eCharts Team,
>
>
>
> I am currently implementing a gauge from your eCharts library and have an
> issue with the options.legend setting. I want the value (detail) in the
> center of the gauge and only show one selected value at a time. Underneath
> the gauge itself I want to show a legend with the name of each value and a
> rectangle with the according color of the value in the gauge. Should look
> something like the picture beneath. In the Pie-Chart and Funnel-Chart, the
> legend can use the series.data.names as strings in the legend.data array,
> but with series.type[‘gauge’] this is not possible. Only the series.name
> can be displayed in the legend, but not the single name entries in the
> series.data array. Is this just not possible with the gauge, or am I
> missing something?
>
> Thank you for your help!
>
>
>
> Kindest Regeards
>
> Sebastian Morawitz
>

Reply via email to