Jump to content

Plotting negative values in pie chart.


divyarathore

Recommended Posts

hi people!

 

i am having a query in which there is a calculation and the result for that calculation is negative values. i want to plot these negative numbers on pie chart.

when i run this report then it gives me no error but blank chart is displayed. i want these negative values to be display on pie chart.

 

 

how can i do this????

please tell me..

 

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

i tried converting the values into positive one by absolute function..

but now wat happens is that if in the result set there are mixed values such as

-20,-30,10,20,50,-70

then if i take there absolute value as 20,30,10,20,50,70

then the display of there percentage in the pie slice will show the equal percent for -20 and 20

which is wrong... so how to plot the correct percentage in the pie chart???

 

hope u all wil understand the problem and wil help me out.

 

Thanks in advance.

Link to comment
Share on other sites

  • 1 year later...

 Try re-scaling them.

find out the largest negative number, work out an offset to make it positive, then add that offset to ALL numbers.

(A bit like moving a decimal point, that way all the numbers will still have the same relationship to each other, but they will be positive and can be plotted.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...