Format Units on ReportViewer chart axis

A

Andy

Hi there, I have an asp.net 2 application, and created a local report
using MS ReportViewer. The report consists of a line chart, with date
intervals on the x axis, and amounts of money in the y axis.

It all works fine, but the amounts of money are high (in millions),
and so the y axis shows increments of 10000000 and has amounts showing
on the grid lines of 10000000, 20000000, 30000000, 40000000 etc.

I would like to format these to a currency amount, or at least have
some commas to make it more readable, but if I try using eg
=FormatCurrency(Fields!MyAmount.Value) the chart is not output
correctly.

Can anyone suggest any way to solve this? Hope this post makes sense.
 
G

Guest

Hi Andy,
I used Reporting Services only once and I have never used charts. But
tables allow to set up Format property for each column. I used it with Data
Time objects and it worked fine. You can set up this format in .net manner.
Just be sure your data are returning from query in correct type - currency =
Money in sql server otherwise formating will not occure (at least this
happend with datetime).

Regards,
Ladislav
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top