How to do enhanced\group label\hierarchical label x-axis - highcharts

I've got an interesting requirement where the labels are more than just simple labels. I'm not sure if it is possible in Highcharts or if it is what to even call it.
.
As you can see the labels are grouped
Start by month
Days of the month (1 through 10, 11 though 20, 21-31)
Finally the actual date
What is the correct name for this functionality and does Highcharts even support it. I couldn't find any information in the docs, but I'm not sure I was searching for the correct term.

It's not directly in highcharts, it's a plugin called Grouped categories by Black Label

Related

Tableau line graph is separated into two panels and I want to combine these

Preface: I ALREADY KNOW ABOUT THE DUAL AXIS FEATURE. Unfortunately, this is not the solution I need.
I have a line graph of sales over the past year. The x-axis of my graph is delineated by months. However, since I want the months to appear in order (August 2020 to August 2021) I am forced to delineate by year in addition to months. This would be find, except there is a giant discontinuity in my graph between the year 2020 and the year 2021 in Dec/Jan. It looks as though my graph is separated into two separate panels based on year. Does anyone know how to combine these panels and eliminate the discontinuity?
Thanks in advance! :)
First only have one Date field on the columns shelf.
Then right click on that pill and select the second Month choice. You should get a green pill and one horizontal axis and a mark per Month/Year. That choice invokes the DateTrunc() function on your Date field (you can see by double clicking on the pill) and is displayed as continuous (green) by default.
People often say this choices causes the date to be treated as continuous - but that is only a side-effect, and can be changed. The more fundamental effect is that it calls DateTrunc() instead of DatePart() on your date field.

How do I set conditional formatting based on data in two different cells?

I have a Google Sheet and I want to set a fill color in one cell based on a date and a text value in two different cells. Essentially, A1 should be red if B1 date is older than 15 days ago AND C1 reads "These are words" I have tried multiple things but I cannot seem to find any formulas that work. I have listed below what formulas I have tried along with what effect they had. Any help would be appreciated.
Additionally, I apologize if this has been answered somewhere, I looked but could not find anything.
Only highlights date that is EXACTLY 15 days ago
=AND($B:$B=TODAY()-15,$C:$C="These Are Words")
Does not Highlight anything
=AND(=ISBETWEEN($B:$B=TODAY()-15,=TODAY(),$C:$C="These Are Word")
I have also tried setting specific cells (i.e. B1 instead of $B:$B)
Example of desired effect
Instead of the = operator use the <= operator:
=AND($B:$B<=(TODAY()-15),$C:$C="These Are Words")

How do I show data for 4 weeks on a Google Sheets chart by week day?

I want to show data for 4 weeks on a Google Sheets chart.
I have tried to do this and it is mostly ok as this is correct:
The X-axis shows the days of the week
The Y-axis is the weight number
Issues I have with my current implementation are:
I had to make a separate series for each week when I wanted it automatically group the data by week number. (I then can't name each series)
The data is off by one day. Monday's data doesn't show which means Tuesday's data is showing in place of Monday and so on.
Here is a link to the google sheet and a screenshot below: https://docs.google.com/spreadsheets/d/147RMW2JE7MoWz53EZuB-nHj-p_xeKez_ze_0mqq8NGA/edit?usp=sharing
My expected result would look more like this:
Here the lines are shown grouped by each week AND data is shown for each day
The reason why you are missing the first day of every week is that you have checked the Use row 1 as heeaders so every series will remove the first datapoint (monday in your case) and insert it as the label for that series (you can see that in the legend).
If you uncheck that checkbox and change your range for the X-axis so it goes from Monday to Sunday you get the correct graph.
The problem with the previous graph is that although all its datapoints are correct there is no legend. But unfortunately there is no way to insert a legend easily because you cannot go and change this manually, the label for each series has to come from the cells.
What you can do to work around this limitation is change your data so the label for each series sits on top of your data and keep the Use row x as headers checked:
Of course this is not the only solution, you can go on multiple ways here, copy the table in a single sheet for every week, or just live without labels. Stack the weeks horizontally so everyone has its week number on top of the weight column, etc

Total and percentage for each column in a line and stacked column chart

I need to show in one single bar chart the number of elements of each column and also its percentage regarding the total.
With a Line and stacked columns chart, I reach this:
However, the tooltip option, on the line, shows me only one value, and I need to get both of them. I mean, not only that 32 but also the percentage corresponding to that value.
Is there a way to get this? maybe another chart?
OK. I understand the question now. Unfortunately, this isn't currently possible.
From Microsoft Community Support,
This is an expected behavior. The tooltips only show when you hover over a column data point in combo chart.
This has been submitted as an idea for Microsoft to address. Please vote and/or comment here:
Combo Charts: How to add tooltip on line

Highcharts Column chart Series data formatting change

I have a simple column chart where the yAxis series data contains numeric strings in the millions and tens of millions. The chart therefore displays the graph numbers like this: "12.5M"(on the side of the grid) and in the points tooltip it is being displayed with a decimal point at the end. How do I make the data be shown in the thousands with commas? Will the chart be adjusted automatically to display more grid lines and raise the columns higher? Thanks a lot in advance.
I would have added an image, however it seems that that requires more reputation points. Sorry. Here's a link to it Screenshot
1) you can change the formatting of the axis labels by setting your own format with the formatter function
http://api.highcharts.com/highcharts#yAxis.labels.formatter
2) you can change the number of ticks by setting a tickInterval or tickPixel interval setting
http://api.highcharts.com/highcharts#yAxis.tickInterval
http://api.highcharts.com/highcharts#yAxis.tickPixelInterval
3) You can change how much extra space is added at the top/how many ticks there are, in part, by setting the maxPadding setting to 0
http://api.highcharts.com/highcharts#yAxis.maxPadding
When you have a small chart like the one you posted, Highcharts will often have trouble adapting its normal tick pattern, and you will often end up with just a min and max tick by default.
It's pretty easy to work these setting to get what you need though.

Resources