ZingChart: How to make scale labels clickable and linkable

The following code works for making the scale labels clickable. You can add link click functionality with API.

},
    "scale-x": {
        "labels": ...
        "item":{
            "angle":-30,
            flat: false // @HERE this attribute makes text clickable. Adds an event listener on the text when being rendered
        }zingchart.bind(null, 'label_click', function(e) {
            console.log(e);
            window.location(...)
        });
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us