How can I conditionally format chart labels in COGNOS 10.2.2? - charts

I have a 100% stacked bar chart in a COGNOS 10.2.2 report with three series. I want one series to display data labels in black, and the other two in white. There does not seem to be a conditional formatting option for the data labels. How can I make this happen?

Related

Merging Percentage Lines with The Bars in Tableau Desktop

I have a graph that shows the ratio (count) of payable vs. processed words among the total words on stacked bars. I would also like to display the same ratio in percentages in lines overlapping the bars.
At the moment I have them in two separate graphs, but I want to merge them so that it takes less space in my dashboard view. I am unable to select the dual combination view as it requires two measures and even though I keep trying to cmd+click+drag the percentage measure pill to my marks, it's only changing the calculations in the bars but not allowing me to select the dual combination view.
Since the percentages are basically the ratio of the green/total in the bars, I don't think I need any complicated configurations for displaying it, however, I am also failing to achieve what I want.
Could you please tell me how to do this visualization?
Edit: I noticed that the reason I couldn't generate the dual combination view was that I had three date pills (year, quarter, month), and by removing two of them, I'm able to generate the dual combination view, but it's far from what I'm looking for as it's only splitting the stacked bar into bar+line.
Neeku, I certainly understand the desire to minimize "real estate" in your dashboard. If I understand your needs correctly, I believe that overlaying a transparent-background chart over the first chart might meet your needs, if a dual-axis chart doesn't work for you (for example, if you wanted to overlay a line chart on a column chart that is itself already dual axis).
By way of example, here is a simple Sample Superstore dashboard with a line chart on top and a stacked column at the bottom.
simple dashboard
Change the line chart to "Floating"
Size it to fit over your column chart and change the background to transparent by clicking anywhere in the line chart and select "Format"
...Format Shading
...and "None" for the color selection
Your line chart is now an overlay, but it's pretty messy.
Click on the line chart and hide field labels,
...turn off "Show Header" for each pill in the line chart
Clean things up and it should look better:
Note: one big issue with this approach is that you will not be able to click to select chart elements of the underlying chart.

Create Stacked Area Combined with Line Chart in Tableau

I'm having trouble creating a chart that combines a line chart with a stacked area chart in Tableau Public. I can create the line chart in Tableau, but after that, I don't know how to proceed. Attached is the chart I created in Excel that I am trying to recreate in Tableau.
Line + Stacked Area Chart
Thanks.
Make your chart a duel axis chart - to do this you must have at least 2 measures on your shelf - click on the right most measure a select 'Duel axis'. Once you've done this, you'll see that each measure has it's own tab on the Marks shelf, which means you can set different mark types on each - for example one measure can be a bar chart and the second can be a line graph.
Hope that helps,
Ben

Merging 3 bar charts into one stacked bar chart in Tableau

I am struggling to create stacked bar chart out of 3 separate bar charts in Tableau.
They suppose to look like this:
However, closest I've got is this in tableau
With other charts it's kinda easier with just dragging the values from rows into the y-axis and voala - stacked bar chart. Over here they just disappear, as I've removed them.
Hope anyone can shed light to my darkness with Tableau.
You were close with your second Tableau screen shot.
From that configuration, move Measure Names from the Columns shelf to the Color shelf. Then you will get a colored bar for each measure on the Measure Values shelf, instead of a column for each measure.

Change pie chart color in Kibana

One of my uses of Kibana is related to displaying some information in certain cases only (say when a value is unexpected and exceeds a defined range). This element is therefore either shown or hidden from the dashboard, and displaying it could be considered as displaying an alert. I would prefer if the related pie chart was filled in red, rather than the default green.
Any ideas on how to do this?
Assuming you are describing Kibana 3, if you want terms panels pie charts to use different colors, you will need to make a code change.
There is a way to have custom colors for your pie chart. In order to do that you'll need to create a "hits" panel and pick the "pie chart" as the display. The color of the pie slices will be determined by the color that you chose for the queries that they track:

Want to show legend just once for repeating charts in single page in ssrs

I have 8 charts on a single page for 7 days of a week and one for combined. I want to show legend only once at the end of page.I have made visibility of legends for all 8 charts as Hidden.
I have 3 rows and 3 columns of charts in which i have one space (i.e. 9th box in this 3X3 matrix of charts) free to display the legend.
How could I do that?
Thanks in advance.
Take a look at last tip on this blog post:
http://blog.hoegaerden.be/2009/10/25/pie-chart-techniques/
He overrides the colors from the palette using stored colors in the database.
In Series Properties you select Fill Page and click the Expression. Assuming you store the 6-digit hex value of the color, the expression will be:
="#" & Fields!YourColorCode.Value
This will ensure the colors will be the same across all charts. To create your "legend" just make a table that displays each field with it's color representation.
There is another question here:
SSRS 2008 - Uniform Chart Legends for multi-chart report but the link in the answer no longer works.