COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Yasser on 16 Jan 2017 02:18:10 AM

Title: How to draw the values inside the Pie chart?
Post by: Yasser on 16 Jan 2017 02:18:10 AM
Good morning,

I know it is very special case, But one of my clients require to have the values of the Pie chart inside the slices not around, Is that doable?

Thanks,
Title: Re: How to draw the values inside the Pie chart?
Post by: MFGF on 16 Jan 2017 04:00:56 AM
Quote from: Yasser on 16 Jan 2017 02:18:10 AM
Good morning,

I know it is very special case, But one of my clients require to have the values of the Pie chart inside the slices not around, Is that doable?

Thanks,

I'm pretty sure the RAVE visualization pie allows this. If I'm remembering correctly, it has a ShowValues property you can set.

Cheers!

MF.
Title: Re: How to draw the values inside the Pie chart?
Post by: Yasser on 16 Jan 2017 07:59:48 AM
Quote from: MFGF on 16 Jan 2017 04:00:56 AM
I'm pretty sure the RAVE visualization pie allows this. If I'm remembering correctly, it has a ShowValues property you can set.

Cheers!

MF.

Thanks for your response MF,

The problem is that the client need many customization like different palettes colors and % sizing, ... 

Is there any way to do that in the basic charts ?

Thanks,


Title: Re: How to draw the values inside the Pie chart?
Post by: MFGF on 16 Jan 2017 09:06:02 AM
Quote from: Yasser on 16 Jan 2017 07:59:48 AM
Thanks for your response MF,

The problem is that the client need many customization like different palettes colors and % sizing, ... 

Is there any way to do that in the basic charts ?

Thanks,

No :)

You can re-size visualizations, and you can modify the code to add a palette property with your own palettes if you need to.

Cheers!

MF.
Title: Re: How to draw the values inside the Pie chart?
Post by: linbai on 17 Jan 2017 12:00:58 AM
From cognos 10.2.2 u can user RAVE visualization to  custom charts in your common reports,before 10.2.2 RAVE visualization only use in active reports.
reference:
https://ask.hellobi.com/blog/bailin0007/4409 (https://ask.hellobi.com/blog/bailin0007/4409)
anyway u can use charts plug(like echarts,hcharts,etc.) to meet the needs of your client
reference:
http://www.cognoise.com/index.php/topic,32247.0.html (http://www.cognoise.com/index.php/topic,32247.0.html)
Title: Re: How to draw the values inside the Pie chart?
Post by: Yasser on 17 Jan 2017 12:36:23 AM
Quote from: MFGF on 16 Jan 2017 09:06:02 AM
No :)

You can re-size visualizations, and you can modify the code to add a palette property with your own palettes if you need to.

Cheers!

MF.

Great, I will give it a try, Thanks for your continues help  :) :)

Quote from: linbai on 17 Jan 2017 12:00:58 AM
From cognos 10.2.2 u can user RAVE visualization to  custom charts in your common reports,before 10.2.2 RAVE visualization only use in active reports.
reference:
https://ask.hellobi.com/blog/bailin0007/4409 (https://ask.hellobi.com/blog/bailin0007/4409)
anyway u can use charts plug(like echarts,hcharts,etc.) to meet the needs of your client
reference:
http://www.cognoise.com/index.php/topic,32247.0.html (http://www.cognoise.com/index.php/topic,32247.0.html)

It is a great Idea, I've used JCharts, Google charts any many JS charts libraries in some web applications, It will be a great idea to use it in Cognos. I will for sure give it a try.
Thanks linbai  :)
Title: Re: How to draw the values inside the Pie chart?
Post by: Invisi on 17 Jan 2017 06:37:23 AM
Or you can leave the pies for dessert and go for ordered bar charts instead.
Title: Re: How to draw the values inside the Pie chart?
Post by: hespora on 18 Jan 2017 02:12:33 AM
Was tempted to make this quip as well, however, some of us are simply in a position where it is our job to just create reports with sometimes more, and sometimes less creative freedom. As in, sometimes a stakeholder comes to us and says "I want this report", and they will already have a mockup that they came up with themselves. Or it may be a report they got in a prior company. Or whatever.

It is only a very small part of my job to educate the recipients why pie charts are not a good idea. If I have freedom in designing a report, I will use a visualization better suited for the job, but if some of my stakeholders want a damn pie chart, they damn well get a bloody pie chart.

Look at it this way: I'm operating a garage. Guy comes to me with his Dodge Viper, or his Porsche 911, or his Lambo, or Corvette, or what have you, and they want it fixed up with a trailer coupling. Yes, I do raise an eyebrow, but in the end, I'll fix up their perfectly nice car with a bloody trailer coupling, because doing so is what puts food on my table.
Title: Re: How to draw the values inside the Pie chart?
Post by: Invisi on 19 Jan 2017 04:09:46 AM
I know it too Hespora. I am just still very much an educator. Being taught by the master himself last year, only strengthened this to me. Luckily for me I can choose my clients and projects. I think there is no harm in at least starting the conversation with my client.

My garage does only certain brands of cars...  ;)