What is the best way to produce a chart like this with XamChart (i.e. a horizontal bar chart where bars have different thickness and overlay each other)?
Thanks!
Hello Eugene,
I have been following through this thread and think I have a possible solution for you. When using two different chart types they are not stacked next to each other but rather one behind the other. You can use this by using one Bar and one StackedBar series and use the DataTemplates in order to make the front one thinner like described in our online documentation: http://help.infragistics.com/NetAdvantage/WPF/2010.1/CLR3.5/?page=xamChart_Using_a_DataTemplate_to_Style_DataPoints.html
Of course you’ll have to maintain your data flow to ensure the DataPoints in the different Series match in values.
I have made simple project for you (Chart_combined.zip) that uses static data to illustrate what I mean.
Hope this suits your scenario.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Thanks Petar! This is very close to what I'm trying to achieve. Two subtle details:
1) Is it possible to extend your technique to plot 3 data points this way (actual, projected, goal)?2) Is it possible to style the graph to remove all the spacing/axis/legend, etc. to make it REALLY compact?