Hi Caleb,
We have analzed your query. You have specified that you have attached screenshots, unfortuantely there were no attachments in the ticket. However we suspect that while exporting the chart, you toggle the legend’s visibility. In any case, if you want the toggle the legend visibility, you have to specify the boolean property without single/double quotes, so that it will work properly. We have prepared a sample in which while exporting the chart to image, we have hidden the legend with the below.
|
JS:
function Export(anchor) {
var chartObj = $("#container").ejChart("instance");
//Hidden the legend before exporting
chartObj.model.legend.visible = false;
chartObj.redraw();
//Configurations for exporting
//Displayed the legend after exporting as image
chartObj.model.legend.visible = true;
chartObj.redraw();
}
|
Sample for reference can be find from below link.
If you have still any concerns with the legend, kindly provide us more information on which scenario you need to toggle the legend visibility and attach the screenshots. If possible kindly try to reproduce your scenario with the attached sample or provide your sample with replication steps, this will help us to provide you the solution at earlier.
Thanks,
Dharani.