- I have a Horizontal Stack Bar Chart that I have a problem with. First, I must let you know that I don't currently have the luxury of upgrading this project to the latest release, I'm using 2009 Q3 (v.2009.3.1103.1030).
- My stacked bar is a bit different because it has to display 3 statuses ("Corrected", "Reviewed", & "Identified"). The difference from the normal stacked bar is that each status must be displayed from 0. In my example (see attached image) you see that Error14 has 17 "Corrected", 33 "Reviewed" and 106 "Identified", these are the numbers returned from the database. To get the series to display in the manner required (each number from 0) Corrected is displayed (17) then Reviewed is calculated (33 minus 17 = 16) so that Reviewed actually ends at 33 on the X-scale, Identified is done in the same manner (106 minus 33 = 73).
- I am using the MVVM methodology to standardize a color scheme throughout my project. To facilitate the "displaying from 0" I have two fields, ValueQty is the calculated quantity and ValueDisplay is the actual number returned from the database. The chart is visually correct except for one thing ... TOOLTIPS! I have set the tooltip to the exact same field (ValueLabel) as the field used for the datapoint label but on some of the datapoints the tooltip displayed is incorrect (see attached image). I tried setting the tooltip equal to the label in the itemdatabound event but I still get the incorrect tooltip on the same datapoints. I've stepped through the project and it appears to be using the correct data fields and quantities up until it actually renders the chart, then the tooltips are incorrect. Any help in this matter is greatly appreciated.
Code from project that illustrates issue: