Misaligned left and right y-axes in Google Sheets - google-sheets

I have a chart of profits&losses I made trading stocks in absolute ($) and relative (%) values. Today I made my first trade that brought me losses, and adding negative values to the chart caused its y-axes to misalign.
I tried manipulating the min/max values, but to no avail. I googled people having similar problems, but not in Google Sheets.
Does anyone know a solution to this problem?

Solution
The Auto gridline count can behave wrongly with particular datasets. When handling such datasets it will be necessary to tweak the major gridline count from the Chart Editor:
Edit Chart>Customize>Gridlines and adjust the major gridline count accordingly.

Related

Google sheets vertical multi line Chart

I want to make a vertical google chart with multiple lines.
So for whatever reason I thought it would be interesting to see and track the progress of my finger mobility after my recent surgery with a google sheets spreadsheet and chart. Every so often at Physical Therapy they measure the angle of my finger. I haven't received the measurements yet so I have only been working with random numbers for the meantime.
So This is kind of what I was thinking either with the different days separated or overlaid on top of each.
Is this possible and if so how could I do this?
As a bonus it would be cool to have the angles at the joints of the graph but I'm not sure if that's possible either.
Thanks for indulging my curiosity.
EDIT *
I was working on a version that almost got what I was wanting I just could not figure out how to add multiple to the same chart or to overlay them
This was with the help of Vertical Line Graph in Google Sheets (Workaround) tutorial.
here is how you can achieve it:

How to create a histogram in Google Sheets with a log scale on x-axis

I need to create a histogram on Google Sheets, and I need it to have a log scale on the x-axis. This is because there are some random high numbers on my column, most numbers are clustered at the beginning.
The option shows up for the y-axis, but not for the x-axis. I think that when I was trying different options it showed up for a time...???? But now it just disappeared.
Please help!
Try normal chart (bar or line) and building a histogram table manually
Use FREQUENCY() formula for this. This way you can make your own classes the way you like and you can then make whatever chart you like.
Take a look at my solution - line chart with logarythmic y-scale.
X-scale as I see is unavailable for manipulation, but you can use own values and treat them as text.
Example dataset: 100 random values from 0 to 35.
Classes are powers of 2 (increase by 1/2 with each step)
Here is my example file. See if it helps
https://docs.google.com/spreadsheets/d/13xVVwhUrMcDj-ec7xpTJv-8cDjlh8zXT46zrqVVLnk0/copy

Google Sheets: Swap X and Y Axis in Chart

I am trying to illustrate the twist in a sail using a chart, showing the effect of various twist amounts.
However, try as I might, I cannot swap the x and y axis! The cells B3:B8 are the height going up the sail, where the measurements were taken, and should be the y-axis.
The columns C:V are series, which are different sets of measurements taken at the various heights up the sail, with the degree of twist as the series' values. This is what I have:
I've also tried to create the chart from Transpose()d data (swapped rows <-> cols) but ended up with the same chart! The "Height" is supposed to be the Y-axis, and the values ("Degrees") the X-axis.
I must be missing something obvious, but Google is not my friend today. I have created a sample Spreadsheet here if anyone can help. MTIA.
Currently it is not possible to define the Y-Axis to a specific range for Smooth Line Chart, in fact, the only way this can be defined is by using Bar Chart.
As a workaround, you can use Bar Chart to define the Y-Axis like this:
Please note that it only looks best when displaying one or two series, the bars would look squished when more series are added.
As for the original intention of defining Y-axis for Line Charts, or a completely new type of chart, you can file a feature idea request here:
How To Submit a Feature Idea Request
Google Workspace Feature Idea Request Link

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.

connectNulls:false functionality with no data

I have an area chart (and a percent-area chart) that uses timeseries data for the x-axis. The timeseries is missing some data points and I would like the functionality to be that of connectNulls:false.
Is there another HighCharts option or a way to extend HighCharts to add an option for this functionality?
I have looked at the docs and browsed the questions here on StackOverflow and Googled for it, but the solution that I have found is to use connectNulls:false and to insert NULL values for the missing data points, but inserting the missing data points with null values would be cumbersome in my situation and I would have to replicate it in a few places.
I would imagine that it would be possible since in the instances that there is a missing data point, HighCharts will maintain the x-axis spacing. All I would want is addition to noticing the missing data point and inserting the appropriate spacing to also use a y-axis value of 0/inset a NULL/the equivalent.
Thank you all for your time and assistance.

Resources