i am using reports.web and creating this report using the flash builder.
i can truncate a double field in a databand using the expression builder.
when i open up the series editor for my chart and attempt to set the "Value" of a chart to the same truncated form of the value in my datasource, i recieve an error "CS0103 : The name Truncate does not exist in the current context"
should i be truncating this value elsewhere and then passing the truncated value to my datasource instead?
thanks
truncating series labels on a chart
-
- Posts: 25
- Joined: Tue Apr 26, 2011 1:01 pm
- Location: Vista, CA
truncating series labels on a chart
Hello,
Please try to replace Truncate function by Math.Round(value, decimal) function. For example:
Thank you.
Please try to replace Truncate function by Math.Round(value, decimal) function. For example:
Code: Select all
Math.Round(myvalue, 2)