How do I anchor the legend to floating chart in Tableau? - tableau-api

As of right now, if I'm floating the chart, the legend will not float with it. I would like to anchor that legend along side(or maybe even inside) the chart. This way when Im draging my chart into positon, I won't have to do the same with the legend. Is there a way to do this? Thanks in advance.

Each object on the dashboard is independent, and only relevant to the top left corner of the dashboard when floating. You can create containers and move the entire container as per this article:
https://help.tableau.com/current/pro/desktop/en-s/dashboards_organize_floatingandtiled.htm
I know anchoring to an object has been an asked for feature in the past going back as far as 2016, that I could find, but I do not know the current in progress status.

Related

Is it possible to draw tick marks outside of the X-Axis on Google Charts?

I've done quite a bit of research of google charts(specifically combo chart) and I don't think producing this UI is possible:
This is because:
Gridlines in Google Chart only go inward the graph.
"Ticks" are available, but only as labels.
I don't see any other option to create this effects. Any ideas on how to create this effect?

AnyChart Axis Rotation and Label Positioning

In this example https://playground.anychart.com/Cjb94yIM I have a chart with very long axis label texts.
This is all good, until the labels are rotated. Since the labels are centered, it now looks like they belong to the record next to it. I have commented out code in the example on how I want the labels to be and how I think they should be. Unfortunately, the chart does not scale properly when you adjust the position of the labels. Is that a bug? I don't know how to scale the chart correctly so that you can see everything. And so that the resize still works correctly.
Thanks ahead.
The current version of the library 8.8.0 doesn't provide a solution to meet your requirements. The rotated labels have an anchor in the label center, so a long label can cover the neighbor category. The current API doesn't provide a possibility to anchor the start of the label right in the category.

How to create a half circle donut chart in Tableau

Please let me know, how to create a half circle donut chart in Tableau. Please see the attached image.
Lables can be fine with inside donut/outside of donut.
Thanks in advance.
There is an easy method to do this. Basically it is a tweek in full donut chart. We will create a full donut chart and hiding the bottom half.
See details in : https://rahulsblogorg.wordpress.com/2017/06/08/creating-a-semi-circle-donut-an-extension-of-donut-chart/
I know this is an old post, but thought I'd respond in case others find this in the future. One issue with the solution posted above is that the half donut will never be quite horizontal--because of the way pie charts are created (starting at the top and moving clockwise), this approach will always have issues. The only way I've found to create this chart is using polygons. Here's a blog on the topic: Half Donut Chart in Tableau

Line Chart axises layout

I have a line chart as it is showed bellow.
How can I make the x-axis showing off all the data (I need the chart to be in small size), for example as it is appear in the preview bar (I mean by preview bar the scrolling bar under the chart to explore the x-axis value, which I highlighted in red in the second photo). In other words, I want to see somehow the whole data of the x-axis in the chart at once without the preview bar.
I hope someone have an idea to help me out, and much thanks in advance.
I think the answer is that this is a feature, not a bug - as Sense is built to re-size and tailor the view for any screen size you lose control over the minutiae such as what parts of the chart to show.
Sense will always format itself to fit as per predetermined rules in the background.
That being said, the slider at the bottom of the chart displays the entire chart and users can expand the chart to fill the screen. So it might be an idea to instead of trying to fit Sense to your requirements to readjust your users expectations to what Sense can offer.
If you were able to see all the data in such a small chart, it would be unintelligible.

Restrict the dragging/movement of smart lines in fusioncharts to avoid weird shapes

I'm creating doughnut chart with smart lines and labels. When there is only one item in the chart, I'm facing an issue. If you drag the smart label or line around, the chart changes its shape in some angles. When the doughnut chart has 3-4 items this doesn't occur. I have attached screenshots. Is there any way to fix this or disable the rotation of chart when lines/labels are dragged?
To restrict the dragging of smartlines, add "enableRotation": "0" to the chart object. Here's the updated fiddle http://jsfiddle.net/g1254w67/19/