Tableau: add 3 different paths (Bar, lines and dotted) lines in one visual - data-visualization

I have a question about Tableau and I was hopping to get some help here.
Goal:
Visualize 3 different paths(bars, line and dotted line) in one visual.
What I have done:
To visualize two paths(bars and line) in one visual I have used Dual Axis which works well. Problem is that now, one if the lines we have I would like to show it as a dotted line, but if I change one, it seems that all the other lines are changed to the same path. Would you know how to tackle this this challenge?
Adding screenshot for more clarification.
Thanks in advance!

Related

How to shorten the first line in the Intellij console?

I want my first line at the top of the console to look like this:
, but mine looks like this, and it's long:
How can I shorten it to like the first picture?
I'm watching Java tutorials on youtube and their first lines ("C:\programs Files\Java\jdk\whatever"...) are always so short and pretty with 3 cute dots in the end, but mine is long and annoying.
You can define the lines which should be folded:
Right click on that line in the console
Choose "Fold Lines Like This"
Click OK
You can also define special keywords/phrases in this menu, where lines, which contains the phrase will be folded with ellipsis (...) at the end.
See the ConsoleViewImpl.java file in the source code of IntelliJ IDEA
This line (execution command) will be automatically hidden in case the string length is more than 1000 symbols.
So, once you add something to the execution command (for example by adding libraries), the execution command is folded automatically.

Select line after finding keyword

I wanted to make a piece of code that selects the line in a text file when it finds the keyword that it's searching for. I have no clue what to actually do, what I searched up didn't help, was outdated, or for another language. I would need this code for vb.net. Thank you.
An example of what I mean.
Let's say we wanna search for: SO11
And there's other lines.
(1) : HJ6
(2) : 46J
(3) : SO11
(4) : NTE
(5) : 4UJ
And the searched line is in line 3. I want it to select line 3 and have it dimmed into a string so I can use it for future things.
Try breaking you question up into smaller chunks. You might be thinking to broadly.
For example:
Read Text File
While reading text file If file contains SO11 then save that line to variable.(Looping through that file.)
Do stuff with that variable.
Give that a try and let us know how it goes.

CLion: Split one long comment into multiple lines with fixed number of characters

Is there any way to force comments to span multiple lines in a CMakeLists.txt and cpp files?
NOT
# So that really long comments that would not normally be split across multiple lines like this one, which look really annoying in git commit history or other editors which do not text wrap like the one on stack overflow . . . .
BUT
# So that really long comments
# end up split across multiple
# lines like this?
In the Edit menu, there is a command to join lines. I effectively want the inverse of this function, so that the comments wrap at the thin vertical line displayed in the editor showing max width.
Soft Wrapping does this for you.
on OSX
CLION -> Preferences -> Editor -> General -> Check Use soft wraps in editor.

Enable show differences in line separators in a diff with Intellij IDEA 13

I'm using IDEA 13.0.1. A unit test is failing because of some line separator stuff. But when I try to compare the two results, IDEA says "Contents have differences only in line separators".
And I can't find a setting where I can say show me these differences. Is there one?
I ran into the same issue, I couldn't find a way to show the difference by clicking show differences, but if you put a break point and look at the strings, they have the line separator written out. For me one string had \n and one had \r\n. \r is also a possible line separator.
I ran into the same problem recently. I found a workaround for it, is not that pretty but did the job:
yourString.replaceAll("\n", "").replaceAll("\r", "");
The key is in what #user1633977 said.
To solve this problem, always use System.lineSeparator() to create your separators. That way they will always be the same and will be OS-independant.
(Remember that different OS can use different symbols as line separators).

Lines of code in your VB project

What is the easiest/simplest way of finding out the number of lines in your VB project?
You might be interested to know how this can be a relevant metric: Wikipedia SLOC
On a linux/mac, to count lines in files matching a certain extension ('vbs'):
find . -regex '.*.(vbs)' -print0 | xargs -0 cat | wc -l
Third party software, like VB Pure Lines of Code
if you're in Visual Studio, look at the line number on the left. If you want the total for all your pages, open them up, look at all your numbers, add them.
There a ton of utilities out there that will count lines for you. They typically count total lines, comment lines, white space lines, and code lines. Just Google your particular language and you'll find plenty.
What would you wanna see? Logical lines of code, or number of physical lines? Strictly, lines of code does not count empty lines, comments, and generated code lines. There is no easy way to find out lines of code in VB. Maybe you find something here.