We have a Telerik report that includes a stacked bar chart. The chart gets data from a SQL datasource. The chart is created fully at design time (not programmatically), including adding two series entries with titles and column names. The y axis contains currency amounts, and we'd like it to show as currency. We've tried setting the valueformat appropriately, and it appears to change it on the visual display, but when we preview or run the report the numbers are unformatted.. I notice that the following line is added to the designer.vb file;
But the problem is that it just doesn't seem to work! Ideally we'd like to use a custom format (ie {C0}), but none of this seems to produce the expected behaviour.
Are we doing something wrong?
A second question; is it possible to add a total value to the stacked bar (ie the sum of all the segments)?
TIA.
Me.ChartSpendByTier.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Reporting.Charting.Styles.ChartValueFormat.Currency
But the problem is that it just doesn't seem to work! Ideally we'd like to use a custom format (ie {C0}), but none of this seems to produce the expected behaviour.
Are we doing something wrong?
A second question; is it possible to add a total value to the stacked bar (ie the sum of all the segments)?
TIA.