RadHtmlChart - I am looking into a way to export all the images (or svg's) in a HtmlChartHolder.
I saw this update here but have heard no help posted there yet. http://www.telerik.com/support/code-library/exporting-radhtmlchart-to-png-and-pdf
my issue is the text does not show up. it may be a permissions issue or the font library looking in the wrong place.
I have tried the fixes suggested there but I still only get 1 image without text created.
also I look at the page and there is the HtmlChartHolder in a div and then multiple svg's inside it of my charts.
so I think I would need a way to loop them and send them all to the server to be created into an image.
maybe I should look into a different svg to image on server program?
also, I have done some image combining myself so if I can get to those images put into a folder such as img01.jpg, img02.jpg etc etc I have my own code to combined them I can use (if nothing out of the box does it)
Doug
7 Answers, 1 is accepted
I can suggest that you use the ClientExportManager that lets you do the exporting on the client-side. You can also export the whole page as well.
Please examine this demo for details on the matter and let me know if some questions arise - http://demos.telerik.com/aspnet-ajax/client-export-manager/applicationscenarios/export-radhtmlchart/defaultcs.aspx?product=htmlchart
Regards,
Danail Vasilev
Telerik
the image exports fine.
the pdf export has no text on it. (no labels, title, series legend, axis numberings)
I tried with the pako.min.js and without.
ok I tried the export whole page which I just set the .exportImage($#<%=HtmlChartHolder.ClientID ...
the image exports for all the charts + titles works fine.
the pdf exports the full size of the chart list area but I only see the first chart and again with no text whatsoever.
any ideas on why the pdf isn't working properly?
I have tried to reproduce the mentioned issue with the provided example from my previous post but to no avail - the chart is properly exported with all the labels with the ClientExportManager in all major browsers.
Could you please provide us with the following information that may help us determine the cause of the issue:
- Do you reproduce the issue with the provided online demo from my previous post?
- Is the issue a browser specific and if so which is the browser and its version?
- If you are not using latest official Telerik UI version - 2015.1.401, does upgrading to it helps?
- Can you please provide us with the problematic code, so that we can investigate it further?
Regards,
Danail Vasilev
Telerik
Doug
Dim oSeries As Telerik.Web.UI.ScatterLineSeries = RadHtmlChart1.PlotArea.Series(0)
oSeries.MarkersAppearance.BorderWidth = 1 '<--- this causes it to fail
I can also replicate error in your demo by changing the front end tag to
<MarkersAppearance Size="4" BorderWidth="1" />
This is an issue with the control. I have logged it here -http://feedback.telerik.com/Project/108/Feedback/Details/158798, so that you can monitor, comment and vote on it.
I have also updated your Telerik points for reporting this issue to us.
Regards,
Danail Vasilev
Telerik