I forgot to add an attachment to better explain what I am trying to do. This example has 3 charts on a page. I want the palette and gallery on the ribbon to control all the charts. It would be nice if I could control each individual chart from the ribbon as well. I could figure this out myself if I knew where (and what methods/events) to put the code.
I would also like to be able to print/preview each chart or all charts from the same button on the ribbon.
Rene
Use the ChartBarController.Control property to select an active Chart. Attached is a modified sample project that demonstrates how to accomplish this.
-
Hi Valdemar,
Thanks for the solution, however it does not work. Try clicking chart1 and change the appearance. Next try to click chart2 and change the appearance. Next, click chart3 and change the appearance. Now click chart1 again and you will get a nullreference error.
Rene
-
I apologize for this inconsistency. This behavior looks like a bug. I will discuss it with our developers.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+