legend

defines the chart legend

object legend;

Example

webix.ui({
    view:"chart",
    ...
    legend:{
        width:90,
        values:[{text:"Type A",color:"#58dccd"},{text:"Type B",color:"#a7ee70"}],
        align:"right"
    }
})

Related samples

Details

The available attributes of the property are:

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of javascript chart library product.