How to change the Height of bar chart dynamically - charts

I want to change the height of bar chart based on Data dynamically. I tried different options but didn't succeeded. Can grow property is disabled in Charts. Do we have any option to change the height of chart dynamically.

Changing height of graph dynamically cannot be done in CR. And there is a very simple reason why is that. If you compare can grow option with character fields and graph there are several problems when applying can grow option in graphs
what is the limit of graph (max height)
if graph can grow, how to display it on several pages
if graph is empty, what then (in character field its empty field)
...
I think you understand what i am trying to say you. Since you have need for "different" sizes of graph i suggest you make several "sizes" of your graph in different sections and then show/suppress only one depending on your needs (messy but effective) since can grow option doesn't exist for graphs.
Hope it helps you

Related

How do I reduce the area of the bar graph and increase that of the text in Grafana? (make labels more readable)

I have long strings as labels which is the full identifier of each deployment. How do I increase the area that the strings occupy and reduce the area for the bar graphs in Grafana.
After many attempts, this is the closest that I have come to displaying label strings in a way that is readable. Ideally a table would also be nice, but I was unable to show a table in which the labels form a column (it always took the row)
You can't change that size. I would rather focus how to make labels shorter. (I would say that "max_Sum/" is not necessary there)
IMHO: the best option is to have a table panel for this - yes, you wasn't not able to achieve it, but you only need right query, result format + transformation eventually.

How can I filter over a bar graph data while showing the average of the entire data set?

I am making an interactive dashboard in Tableau that looks something like this:
https://public.tableau.com/app/profile/monica.ionescu/viz/ExploringHIVStatisticsinSouthAmerica/Dashboard1?publish=yes
(for your best viewing experience, please view the dashboard in the fullscreen view - button on bottom right corner of the board)
I need some help with the bar chart.
I currently have a reference line in place to mark the two averages so that they don’t move as I filter through data. When using the average line feature, the filters on the left change all the graphs on the dashboard in real-time (and thus the average with it). So, it seems like the average line is built from the data points currently on display rather than all the data points in our data set.
I want to show the averages on the bar graph as they are in the image (a constant for the whole data set) without having to manually set the average each time I add/update the data.
How do I make it so that when I change the filters, the bar graph changes but the average stays constant?
Thank you so much!
You can self-blend the data sources - duplicate the data source, but DON'T join any fields/set up relationships. The lack of join can make the secondary source act as a constant.
Alternatively create a FIXED calculation to calculate the average. This should also act as a constant - just make sure none of your filters are in context.

tableau adjust marks size using number

In Marks, click Size and there pops a slider where I can adjust the size of a shape. But how to accurately control the size, is there some property with numbers to accurately control it? I have two sheets to show something similar and I want to display exactly the same sized shapes.
If you want to ensure 'sizes' are the same across two worksheets, I'd suggest snapping the 'size' setting to the center on both, as this is the easiest option to select. You can then use a measure to set the size, if this is desirable, and then the difference in size will be relative on both worksheets.
There isn't a numerical value override for the size slider.
Ben is correct, there isn't yet a numerical value override for the slider. You can use parameters with Min/Max/Sum etc. and a variable to somewhat change the sizes but they have to have multiple entries per line. It is unfortunate that Tableau still doesn't get that people want both a 'relative' sizing system that uses numbers from the dataset and a 'static' sizing system that allows for shapes to be set to '11px' or something along those lines. Yes, you can control that kind of in the dashboard with a vertical and fill entire box etc; but that doesn't address the very real scenario where you want a user to be able to re-size on the fly. Just my two cents.
I ran into this today. Very annoying. Need to keep shapes the same size across all worksheets and therefore same on dashboard.

Grafana bar graph sorting, lower values not visible

I have a bar graph in Grafana (with InfluxDb). Its grouped by time and a tag. But I noticed that the large values are being drawn over the lower values.
Example below. You can see the points where the lower value bars are. I would expect that the lower values are drawn on top. Is this a setting?
Query:
Looking at your data it appears to be showing the time spent in each component of a request pipeline, so my suggestion would be to present them as stacked bars, which will better represent how each contributes to the total time spent.
You can enable stacked mode on the Display tab of the graph edit panel.
If you're more interested in seeing how each item compares to the others, then maybe a line or point plot would be easier to read, especially as superimposed bars will be be assumed to be stacked by most viewers.

SSRS chart does not show all labels on Horizontal axis

My SSRS report does not show all the labels on the horizontal axis. Please see below.
Note how the red arrows point to the few that do show. So my question is, where are the rest of the labels? Each bar should have one.
For the chart I'm adding number data for the bars, and another field for the Category Groups. That field in Category Group is for the labels.
Does anyone know why some are missing?
Also, a second but less important question, why is the order of the bars not the same order as the dataset?
The problem here is that if there are too many data bars the labels will not show.
To fix this, under the "Chart Axis" properties set the Interval value to "=1". Then all the labels will be shown.
Go to Horizontal axis properties,choose 'Category' in AXIS type,choose "Disabled" in SIDE Margin option
It looks as though the horizontal axis (Category Group) labels have very long values - there may not be room to display them all. I suggest changing the labels to have shorter values.
You can set the sort order for the Category Groups in the Category Group Properties - Sorting section - this may have been previously set; if not, I suggest using this to sort as desired.
(Three years late...) but I believe the answer to your second question is that SSRS essentially treats data from your datasets as unsorted; I'm not sure if it ignores any ORDER BY in the sql, or if it just assumes the data is unsorted.
To sort your groups in a particular order, you need to specify it in the report:
Select the chart,
In the Chart Data popup window (where you specify the Category Groups), right-click your Group and click Category Group Properties,
Click on the Sorting option to see a control to set the Sort order
For the report I just created, the default sort order on the category was alphabetic on the category group which was basically a string code. But sometimes it can be useful to sort by some other characteristic of the data; for example, my report is of Average and Maximum processing times for messages identified by some code (the category). By setting the sort order of the group to be on [MaxElapsedMs], Z->A it draws my attention to the worst-performing message-types.
This sort of presentation won't be useful for every report but it can be an excellent tool to guide readers to have a better understanding of the data; though on other occasions you might prefer a report to have the same ordering every time it runs, in which case sorting on the category label itself may be best... and I guess there are circumstances where changing the sort order could harm understanding, such as if the categories implied some sort of ordering (such as date values?)
Really late reply for me, but I just suffered the pain of this problem as well.
What fixed it for me (after trying the Axis label settings and intervals from those screens, none of which worked!) was select the Horizontal Axis, then when you can see all the properties find Labels, and change LabelInterval to 1.
For some reason when I set this from the pop up properties screens it either never 'stuck' or it changes a slightly different value that didn't fix my issue.
image: reporting services line chart horizontal axis properties
To see all dates on the report;
Set Axis Type to Scalar,
Set Interval to 1
-Jump Labels section
Set disable auto-fit
set label rotation angle as you desire.
These would help.