Legend
9 Mar 2018 / 1 minute to read
Legend visibility
The legend shows the value range differences and color occurrence in the respective leaf node while hovering it with the cursor.
NOTE
By default, the legend is visible in the pivot tree map.
You can disable the legend by setting the showLegend property to false. The following code example shows how to disable the legend:
<div class="e-control">
{{ej-pivottreemap id="PivotTreeMap" e-renderSuccess=model.renderSuccess}}
</div>
export default Ember.Route.extend({
model() {
return {
renderSuccess: function(args){
var treemapTarget = $('#PivotTreeMapTreeMapContainer').data('ejTreeMap');
treemapTarget.model.showLegend = false;
treemapTarget.refresh();
}
}
}
});
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page