This is a migrated thread and some comments may be shown as answers.

Angular Chart title not dispalyed when saving to image

1 Answer 62 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Itay
Top achievements
Rank 1
Itay asked on 28 Feb 2016, 12:13 PM

I have a code that saves chart as image that worked well at version 2014.3.1316. When migrating to version 2015.1.318 it does not work well any more.

I am creating a chart with hidden title.

title: {
   visible:false,
   text: chartTitle
}

Then, before saving it as image I am setting the title visibility to true:

  chartView.options.title.visible=true;

 

As said above, in V2015.1.318 it does not work and the title is missing from the image.

Please advice

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 02 Mar 2016, 08:12 AM
Hi Itay,

Apologies for the delayed reply.

When changing options of Kendo UI Chart its redraw method need to be called. Take a look at this dojo which demonstrates a possible implementation of the desired scenario.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Itay
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or