How to Remove on Vertical Gridlines in Tableau Desktop App - tableau-api

I would like to only remove the vertical gridlines from a Tableau chart. I am aware that I can go to Format > Lines > Gridlines > Set to NONE. But this removes both vertical and horizontal gridlines. I am trying to only remove the vertical gridlines. (See the screenshot. I have made the gridlines little darker to demonstrate my question).
I looked around, but could not find a solution. Please help.

On the Column Divider from the Format Boarders menu, move the Level slider to the left.
Result:

At the top of the format pane in the left side bar, don't select the Borders icon (which looks like a little grid) Instead, select the Lines icon just to the right (which looks like a set of different width lines)
The Borders settings control the display of borders between cells and panes, i.e. the parts of the view created when putting discrete (blue) fields on the Rows or Columns shelves.
The Lines settings control the display of the axis, grid and other lines, i.e. the parts of the view created when putting continuous (green) fields on the Rows or Columns shelves.
Once you are working with the Lines format settings, you can scope your changes to either just the vertical grid lines, just the horizontal grid lines, or both by selecting Sheet, Rows or Columns from the tab just under the icons discussed above.
Experiment to get the hang of it. Whenever you change a setting from the default value, the title goes bold. You can right click on bold titles to clear the change, or you can clear all the changes to a section by hitting clear at the bottom of the format pane. So its easy to undo a change you don't like, allowing you to experiment with confidence to learn how the settings work.

Related

How to adjust center axis width in a butterfly chart in Tableau

I am working on a butterfly chart. I create a center zero axis with "Text" type. Everything goes fine, except for one thing.
The width of the center axis is too broad, I want to change the width. But I don't know how to do it.
If I shrink the center axis, left and right are also shrunk. It seems the ratio of width is fixed.
Here is my demo workbook on Tableau Public.
Thanks for any help.
I was able to recreate your butterfly chart following the steps below.
"Concatenated by Dashboard
To shrink the middle margin, we can use a dashboard to concatenate instead of a single worksheet.
Divide into three Worksheets: right-click on the sheet tab and duplicate three copies. Remove the other parts in each worksheet.
Create a Dashboard and concatenate three segments: drag these segments to the corresponding positions.
Change the Dashboard Size to 1200 x 4500. concatenated by dashboard
Set left and right segments as Standard and set the middle segment as Fit Width. Then, Resize them to a proper layout.
Right-click Legends and check Floating, then put them in the appropriate place.
Polish the chart:
Keep only the left title and remove others.
show and rename the left and right axis."
Source: https://www.pluralsight.com/guides/tableau-playbook-diverging-bar-chart

How can I put different colors for the different elements of a single dimension

How can I set different colors for the different elements of a single dimension with Tableau Desktop?
I want the colors in fields of dimension and not like the picture.
Thank you
You can drag that same dimension on the Color mark in the Marks area, which by default is displayed below filters, right to the Data area.
To change the colors that Tableau assigns by default you can click on the Color mark and use "Select Colors": it will open a window where you can select the color you want for each value of the dimension you're using.
Edit
Unfortunately you cannot color the background of a dimension axis. You can achieve the same result with a trick though:
Drag the dimension to rows
Double-click in columns and write MIN(1)
From the marks dropdown, make sure Bar is selected
Drag the dimension to the Color mark
Drag the dimension to the Label mark
From the Label mark, set the horizontal alignment to either left or center
From the Label mark, mark the flag to allow labels to overlap other marks
From the Size mark, crank the size all the way up
Right-click on the dimension from the rows area and unselect Show Header
Right click on the MIN(1) axis below the graph, click Edit Axis, select Fixed among the Range options and fix start and end to 0 and 1 respectively
Right click on the MIN(1) from the columns area and unselect Show Header
Of course adjustments can be made to better suit your needs, but this should give you an idea of the whole process.

Vertical Align Crystal Report Text Filed

I have a scenario in which my reports fields doesn't look like centered Vertically,
Below is the screen Short of the output.
As it can bee seen from output that data with a bigger font is clearly seen centered vertically, but the data pointed with lines is left-top justified, i want that to be left-centered.
For vertical alignment I did this .
and code behind formula is:
if {NewReport;1.TireLevel} = 1
then
crCenteredHorizontally
else
crLeftAligned
The Editor Screen.
Sadly, Crystal Reports doesn't support vertical alignment in the same way it supports horizontal.
It's possible to use labels on the vertical ruler and enforce Snap to Grid, but that might not work within a table. Or you can add line breaks, blank rows, or plain white objects to push things into position. But there's no easy way to enforce a vertical center.
In your particular case, I would actually make two seperate fields: One for large text and one for small text. Layer them on top of each other and reuse your current formula to alternate their suppression. This way you can move the smaller text vertically down without undoing the vertical alignment on the large text field.

Background changes color when hovering

So I have a grid in Zkoss with a certain amount of columns. One the first row I place two labels which fill the first two columns (as expected).
I've written their style so that they don't have change color when you hover the mouse over them however one of the columns label is much bigger than the other and when I hover the mouse over the smaller label the area around which isn't filled by the text goes to white.
ZKFiddle example
I'm going insane around this as I'm simply unable of making that area have the same background as the label.
Like I already said in your duplicated question.
CSS is responsible and you just need to search with developer tools.
This update to your fiddle tooks me 2 min.
The changed thing :
.z-row:hover > .z-row-inner, .z-row:hover > .z-cell {background:red; !important}

Access form: Datasheet view: How to remove the empty area on the right of the table

I have a form that is shown in datasheet view. There are 35 fields (columns), so I have to scroll horizontally. It is ok, no problem. The only thing I don't like is that, after last column, a big white space (empty) area appears. It is like if there was a padding or margin on the right of the table.
How can I remove that white space area? (I don't like having to scroll to see only white space)
That's just the way a datasheet works. Think of how an Excel worksheet looks. If you want to control the layout more precisely, you could present the data as a continuous form with many columns and anchor the right edge of the form to the right edge of the window. But then you would sacrifice the power of the datasheet view (two-way compatibility with Excel, etc.).