how to see more than 5 labels in pie chart in tableau - tableau-api

I see only 5 labels even that i have 6 options - how can i solve it? the Malicious Bots are not shown in the labels.

You can't see them because there no space available and so Tableau suggest you to not show it.
If you want to see it anyway, you can go to the Label mark of your worksheet, and check the flag "allow label to overlap".
Remember that selecting a specifc slice you can move the label, but I would not reccomend it if your chart may change due to filters.

Related

How to put a label to a hierarchical dimension in Qlik Sense

I would like to know if I can set a label to a hierarchical dimension, because If I have 2 dimensions, it will show like below:
That seems not beauty, so, there is a way to change this with a label or something in qlik sense?
Thanks, any ideas?
1. Unlink the Visualization
In the edit panel, click the chain icon and accept to unlink it from the master dimensions. This will allow you to edit the label accordingly.
Of course, this removes it as a master dimension so you it might not be the best if you have numerous sheets using the same chart.
2. Add the Label in the Master Visualization
I don't know what the rest of your app looks like, and I've found this to be finicky sometimes so it may not work --play around with it though.
While editing the master table, experiment with using ="Your Label Here" in the titles of the measures.
In my opinion and experience, Qlik Community Forum is more active than Stack Overflow. I highly recommend checking it out for help if you're finding Stack Overflow to be too slow: https://community.qlik.com/

Mark Labels Not Displaying In Tableau 2018

Others have asked this question before, but no one has provided an actual answer to it. I can't get all of the marks/labels to display in my Tableau visualizations.
Selecting "allow labels to overlap" does not fix the problem. That displays several hidden labels for the smallest of the areas, and it places those labels at the top of the bars, ignoring the formatting that sets the labels to the bottom. However, whether or not that option is checked, the empty areas in the screen shot stay empty. And those areas are clearly large enough to display the missing labels without encroaching on any other label.
I'm guessing this is a bug in Tableau because there's no reasonable explanation as to why this is happening, but I'm new to Tableau and unsure how to address this.
While I can offer no explanation, this has been a reported problem for several years. Tableau's own documentation states to check the Allow marks to overlap checkbox, yet that doesn't always work.
I don't know if it's a bug so much as it is a complicated calculation for the rendering engine to determine what will and won't fit into a space. To the human eye it will fit but it's possible the underlying calculations inside Tableau don't see it that way. I find that particularly on dual-axis charts (like yours) this happens more frequently. I've done two things to get around it when it comes up:
Change font family or font size
Put more info into the tooltips so the end user sees the data when they hover.
If you wish to pursue this as a bug, you will need to contact Tableau Support and file a case. They will ask you to submit a twbx file to reproduce the issue.
I hope that helps.
Label -> Font -> Automatic solved the problem for me
You can select individual marks, right click to pop up a menu, and specify whether to always hide or always show the labels for the selected marks (overriding the default behavior)

AM Chart - ChartScrollbar label hide or rotation possible?

I am building a line chart, everything works fine besides the labels in chartScrollbar, since the category names are a bit long, labels in cahrtScrollbar stacking onto each other make it unreadable. I'm wondering if labels can be hidden, displayed only a few or make the label rotate to a degree? Please see below screenshot
Chart scrollbar does not display labels by default. If it does for you, there might one of the below:
1) You have some older version of JavaScript Charts. Upgrade to the latest one.
2) You have labels explicitly enabled by setting autoGridCount: true and/or gridCount in your chartScrollbar config. Remove those.

How to customize bullet charts in Tableau

We test people and then provide analysis for managers and HR teams. I have a chart that I created in Excel which I am struggling (as a novice) to recreate in Tableau.
I started with bullet charts but the problem I had with that is that the bands were relative to the target value and I couldn't see a way to link them to variables. Also the bands don't always go from red to green. There are some attributes where the test may be looking for balance rather than an extreme (e.g. perfectionism).
Instead I went the route of stacked bar charts to show a red,yellow, green type of analysis. I have managed to create a stacked bar chart in Tableau but I can't overlay a marker to show the individual's performance. This is how my data is currently:
When I try to overlay the Score on the stacked BandLimit I get this which is not what I'm after:
What am I doing wrong? I would love to know how I could fix this but also if there are other ways I could do this (bullet chart, etc.) and any tips you might have on better ways to display the information.
Thanks.
Here's one way to get the Score onto what you've already built.
I'm assuming you're looking to add the arrow that you had in the Excel bullet chart. We can do that with a second mark. I'll go ahead and include your steps so far, just to make sure everyone's on the same page:
Place Competency on the Rows shelf.
Place SUM(Band Limit) in the Columns shelf.
Place Band in Color.
Now we'll make a new mark to get that arrow onto the viz. Place Score in the Columns shelf, after SUM(Band Limit). Right click on the Score pill and make it a dimension, but keep it continuous. Lots of things will likely change automagically, but no worries, we'll get it back under control in a minute. One important thing to note is that there are now two marks shown in the Marks Card - one for SUM(Band Limit) and one for Score.
Right click the Score axis and hit Dual Axis. Then right click the Score Axis again (which is now at the top of the view) and hit Synchronize Axis. You should now have an axis at the top and bottom of the view, and they should be aligned with one another.
Go to the SUM(Band Limit) section in the Marks card. Make sure the only thing in Color is Band, then change the mark type to Bar. You should wind up with stacked bar charts again.
Go to the Score section in the Marks card. You'll probably want all of your arrows to be the same color, so take everything out of Color. Click Color and choose black (or whatever feels right to you).
In the Score section in the Marks card, change the chart type. Then choose Shape and select an arrow for the shape to replicate the Excel chart. You can also choose Gantt Bar to have a thin black line instead of an arrow.
Right click on axes and uncheck Show Header if you don't want them there. If you opt to remove both of them, make sure you include some way to see the values, maybe with a tooltip or by creating labels for one or both marks.

Reporting Services 2008 Chart DynamicHeight Property Creates Extra Space

I have a bar chart with horizontal bars. I used this article to setup the dynamic height property:
http://blogs.msdn.com/b/robertbruckner/archive/2008/10/27/charts-with-dynamic-size-based-on-categories-or-data.aspx
Everything looks fine in the viewer, but as soon as you go to print layout, pdf, et.al there is about 50% more blank space below the chart.
I've created a sample report (using AdventureWorks DB) to show what is happening. I placed 3 charts with blue backgrounds, each inside its own rectangle with gray backgrounds. The first chart has an expression in the DynamicHeight property, the second chart has a hard coded value in the DynamicHeight property of 8.5in, and the third chart has a blank DynamicHeight and a 8.5in in the normal Height property. I have it return 15 items to place in the chart.
They all look fine in the viewer like I said before, but go to Print Layout and the first and second charts take up twice the space with half of it being blank below the report.
I tried to post the .rdl code, but its too much for the size limit.
I have an open ticket to Microsoft that has been escalated.
We've filed the necessary request to get collaboration from our development team so we should be getting a response regarding this functionality sometime in the next couple days. I'll let you know what they say.
Development has later confirmed it was definitely a bug, now are trying to decide if it is worth it to add to the next cumulative update or wait until SSRS 2010.
The work around until this is fixed, is to place the chart control into a table/tablix.
I added an empty table, deleted the details row and the two extra columns, and added my chart that was giving me problems. Everything appears to re-size correctly now.
try setting up the interactive size, margin and page size. im not sure if it will work but you can try. page size - margin = interactive size. do not exceed from your page size when giving value to your interactive size and margin, this also can cause white spaces in print layout.
hope it helps.
best regards,
cathy