'label.save.from' in pdf exported out of serial line am chart

Hi,

Please see in attached screenshot that when I export PDF out of a serial line AM Chart it says saved from {website domain}. I have following questions for that:

  1. In which file I have to give message key label.save.from for it to show properly
  2. Can I hide it completely?

Screen Shot 2017-09-14 at 11.01.54 AM

Hi,
Currently, you’re only able to remove the caption from the generated PDF by defining native json with export configuration. For instance:

сhart.setNativeJson("{\"export\":{\"enabled\":true,\"menu\":[{\"class\"" +
                ":\"export-main\",\"menu\":[\"PNG\",\"JPG\",\"CSV\",{\"format\":\"PDF\",\"content\"" +
                ":[{\"image\":\"reference\",\"fit\":[523.28,769.89]}]}]}]}}}");

I’ve created a YouTrack issue. See the link on the right.

Alternatively, you can set native json within XML descriptor, be adding the nativeJson element to a chart. For example:

<chart:nativeJson>
                <![CDATA[{"export":{"enabled":true,"menu":[{"class":"export-main","menu":["PNG","JPG","CSV",{"format":"PDF","content":[{"image":"reference","fit":[523.28,769.89]}]}]}]}}]]>
</chart:nativeJson>

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-9686