render legend onAfterRender Chart

Hi webix team is it possible to render a legend after an event?

Tagged:

Comments

  • i have this code but doesnt works

                                     on:{
                                            onAfterRender: function(){
                                                legend: {
                                                    align: "left",
                                                        valign: "middle",
                                                        values: [{text: "Absent", color: 
                                                        "#51c2d6"}, {text: "Tardy", color: 
                                                        "#4db891"}, {text: "Undertime", color: 
                                                        "#eeea36"}]
                                                },
                                            }
                                        }
    
  • this is solved.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion