Why after enable Chart Legend still its won't show?

Answer:


By default, the visibility of chart legend is enabled, but the legend items will be rendered only when name for each series is provided. Here is the code snippet for your reference.

<EjsChart>

<ChartSeriesCollection>

<ChartSeries Name="LoadHours">

ChartSeries>

//…

ChartSeriesCollection>

EjsChart>


Find the sample for to display Chart Legend from here.


Loader.
Up arrow icon