Hello,
I've implemented a Data Chart with export as an image functionality and have a few questions.
1) Is there any way to include the legend in the export? and if not is there a way to customize one of the axis labels to use multiple colors.
2) Are there built in methods for exporting to PDF or Excel and if not is there a workaround.
3) Is there a way to print a data chart but first send it to a print preview window?
Thanks in Advance!
Hello
I copied your code in my project and compiled without error. when clicking on the button nothing happening.
Tuoc.
I'm glad to hear that you got it working. UltraLegend doesn't support a horizontal orientation for items, so I recommend submitting this as a new product idea: http://ideas.infragistics.com/forums/192359-windows-forms.
Please let me know if you have any questions.
Thank you, this is working for me.
My chart has multiple series and now that I can export the legend I'd like my legend to display the items horizontally instead of vertical.
I don't see a property for this.
How would I go about displaying the legend items horizontally?
Hi Anthony,
I've completed the sample. In my sample, I demonstrate how to use the DrawToBitmap method to render the DataChart with a legend. The result is contained in a normal .NET Bitmap object, so you can use it in a report or send it to a print preview normally.
I believe that you could achieve this if you use the DrawToBitmap method instead of the image export feature. I am going to try this out myself and attach a sample here if it works.