Introduction
Released in Tableau 2023.2, line pattern allows you to choose between solid, dashed, and dotted lines to represent your data. This feature comes in handy when you need to show actual values with projected values, or actual values with target values et cetera etcetera.
To add dotted or dashed lines in your visualizations.
Create a view, in this case a simple line chart by.
Add Order Date to the columns shelf.
Add SUM(Sales) to the rows shelf.
Chose Line under Marks card.
Under the Path shelf, choose line pattern – either, solid, dashed, or dotted.
Note, using the same options in a dual-axis chart, you can build better views to compare different values such as actual and projected values as shown in the view below.
(Note, actual values are represented by a solid line while projected values are represented by a dotted line)
Conclusion
I hope this article was helpful to you. If you wish to receive more Tableau tips and tricks, kindly join our mailing list by subscribing below.
If you like the work we do and would like to work with us, drop us an email on our contacts page and we’ll reach out!
Thank you for reading!
Bình luận