Hi,
I was wondering if I can customize the DataTemplate somehow for individual stacked column blocks. I can change its brush, but it seems that there is no way i can change its template.
I want to be able to add additional information inside each block, is there any way to achieve this?
Thanks in advance
Thank you very much.
Hello petrinat ,
I have been investigating your issue and indeed setting template to the rectangles that StackedColumnSeries consists of is currently not possible. What you can do is to get the corresponding rectangle like this for example:
ColumnFragment c = Utilities.GetDescendantFromType(xamDataChartNameHere.Series[0], typeof(ColumnFragment), true) as ColumnFragment;
Canvas a = (Canvas)Utilities.GetDescendantFromType(c, typeof(Canvas), true);
(a.Children[1] as Rectangle).Fill = Brushes.Pink;
That way you can stylize the rectangles as much as you want.
After the research done, creating a mechanism of changing the series appearance, has been determined to be a new Product Idea. I have sent your feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12050042.
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support