To add a legend, create a legend object.

    type: 'bar',
    legend: {

A chart legend will appear like so:


You can customize the text, markers, layout, positioning, styling, and much more. ZingChart also supports interactive legend features such as legend toggling, dragging, minimization, pagination, scrolling, highlighting, sharing, and animation. 



Legend Tutorial
Legend JSON Syntax

Did this answer your question?