ChartTitle not visible EMF
Posted: Mon Mar 13, 2023 4:03 pm
Hello,
We are now trying upgrate to LC 10.4.1.1 and there is an problem with copying chart as EMF file. When chart is copied there is Title of chart visible. If we try to copy chart as BMP title is there. While investigating we have tried to do this
_lightningChart.SaveToFile("bla.svg");
_lightningChart.SaveToFile("bla.emf");
_lightningChart.SaveToFile("bla.bmp");
_lightningChart.CopyToClipboardAsEmf();
Even saved "bla.emf" and "bla.svg" did not shown Title of graph. But when we looked into "bla.svg" (you can see for yourself in bla.zip) we found out, that Title is inthere, just not visible because of clip-Path
<!ENTITY E27 '-56.31874 14 590.6812 14 590.6812 408 -56.31874 408 '>
<!ENTITY E26 'stroke:none;clip-path:url(#LC413_SetClip);font-family:Segoe UI Semibold;fill:rgb(0,0,0);font-size:10.8pt;opacity:1;'>
<text id="LC411" style="&E26;" transform="matrix(1 0 0 1 142.3187 13 ) " x="-57.31874" y="5.962499">Title of Graph Λ λ</text>
<clipPath id="LC413_SetClip">
<polygon points="&E27;" id="LC414" />
</clipPath>
"Title of Graph Λ λ" should be visible, but clip-path in E26 causes it to be invisible. If you delete it, it will show up. We think similar issue could be reason why in EMF title is also not visible.
Do you know how to solve this issue ?
Thank you
We are now trying upgrate to LC 10.4.1.1 and there is an problem with copying chart as EMF file. When chart is copied there is Title of chart visible. If we try to copy chart as BMP title is there. While investigating we have tried to do this
_lightningChart.SaveToFile("bla.svg");
_lightningChart.SaveToFile("bla.emf");
_lightningChart.SaveToFile("bla.bmp");
_lightningChart.CopyToClipboardAsEmf();
Even saved "bla.emf" and "bla.svg" did not shown Title of graph. But when we looked into "bla.svg" (you can see for yourself in bla.zip) we found out, that Title is inthere, just not visible because of clip-Path
<!ENTITY E27 '-56.31874 14 590.6812 14 590.6812 408 -56.31874 408 '>
<!ENTITY E26 'stroke:none;clip-path:url(#LC413_SetClip);font-family:Segoe UI Semibold;fill:rgb(0,0,0);font-size:10.8pt;opacity:1;'>
<text id="LC411" style="&E26;" transform="matrix(1 0 0 1 142.3187 13 ) " x="-57.31874" y="5.962499">Title of Graph Λ λ</text>
<clipPath id="LC413_SetClip">
<polygon points="&E27;" id="LC414" />
</clipPath>
"Title of Graph Λ λ" should be visible, but clip-path in E26 causes it to be invisible. If you delete it, it will show up. We think similar issue could be reason why in EMF title is also not visible.
Do you know how to solve this issue ?
Thank you