Cannot Delete Unwanted X Axis Cell

I cannot delete an unwanted X Axis Cell reference in chart 1 (left). Every time I delete it, it "magically re-appears."


If I copy the correct X axis data range from the 2nd right chart and paste it in the x axis label reference into the first chart's label the cell ref CU412 still re-appears?






It's the same as this issue with another references that won't delete in the same sheet:

Unable to Delete Chart Data References - Apple Community


No idea what's causing it.


Cheers




MacBook Pro 16″

Posted on Dec 16, 2024 2:29 PM

Reply
7 replies
Sort By: 

Dec 17, 2024 6:06 AM in response to Bardonicloud

It is going to have as many labels as you have data points (it could have more labels listed but not less). Numbers does not allow you to simply delete a label in the sidebar unless there is an extra it does not need. You can replace one with something else, like the text string "my new label" but you cannot simply delete one. You did not show what the data range is for that table. It may include an extra column you are not aware of, probably column CU but it could be a column to the far left off the screen. Or it could be the labels are shifted a column to the the right of the data points from manual manipulation of the chart information after it was created.

Reply

Dec 27, 2024 6:52 AM in response to Badunit

Thanks, yes, the far left column was correctly selected, somehow CU got included. So is the only other alternative (other than finding another data table and copying it's correct x values labels, which I did in the case above) to delete the whole chart and start over?


Because even when I do create a new chart, (to plot another data table), I am having difficulty getting Numbers to plot what is represented in the table (in a new sheet called v13 that is a duplicate of the old v12 sheet imaged above) because the chart curve in v13 faces the wrong way.


The lines of the Delta chart were facing the correct way: (v12)




In v13 I altered the order of values for the x axis (in the light blue column G) so they now ascend in value from the bottom (asset price 167) of the table with the top having the highest value (447). My v12 sheet asset price X values, had originally had the smallest values at the top of the column descending to the largest value at the bottom. 


In v13 I decided to copy the labels but no amount of rearranging the cell references in sheet v13 in the category labels, eg by dragging references from the top of the column G to the bottom, stopped the sigmoid Delta curve -- that should have the lowest values on its bottom left and be sloping up to the right with the highest values -- being back to front? I then realised the v13 labels will always reference v12…


I created a new chart in v13 and selected my first column of Delta values (blue dot) in col i. but despite moving x values that have defaulted to the far left column over to col G, by simply dragging from the left column to column G (asset prices) the chart curve still keeps facing the wrong way, (an incorrect backward S) even if I drag references from the top of the column to the bottom and vice versa, one buy one same problem with the chart slope direction... and this despite the chart having x values on the bottom far left (asset price 167 / Delta 0.0017) going to 447 and Delta = 1.0000 on the far right?




I'm not sure why a new chart with every single x axis value dragged from left to the col G position (unlike in ths image of another attempt at t new chart) is still "back to front."


Also how do you stop Numbers selecting the far left column when you plot your first Y axis Delta value with a blue dot selection?


Cheers!


Reply

Dec 27, 2024 9:44 AM in response to Badunit

Re: My response below about editing category labels and wrong facing chart curves... I can only assume the direction in which you select the vertical columns (Delta's) will determine how Numbers plots the data.


Deleting my "Blue Dot" Selection and individually selecting values, cell by cell, going up the column from the bottom to the top row "solved" the chart curve direction (it's now right facing). I find it strange that you can't select the column from the top and it respects the values in the x axis and why the selected column's blue dot appears where it does at the bottom of the column obscuring data?


I don't know why reversing the x axis data would delete all my chart data leaving them blank and back to "factory settings" with an "add chart data" needed to redraw all the charts? 😅 Surely reversing x axis data shouldn't be this complicated?


Yet selecting another columns form the bottom up and the green dot is okay and appears above the selection for this newly added column?



Reply

Dec 27, 2024 11:12 AM in response to Badunit

I understand it's hard to figure without seeing everything selected and appreciate your responses here. Thanks for the x axis re-selection advice.


I am pretty certain when I started making charts that didn't use rows of days, 90,89,88 etc as the x axis i manually selected those far left header column "implied volatility etc" selections and dragged them over to the light blue asset price columns in col G. That worked. Sheet v12 charts on the whole all looked fine (aside from the odd random cell that got inadvertently selected within a charts data and as you noted can't be removed from the category label).


Sheet v12 (yesterdays version with descending x axis asset prices) was fine:



Sorry it's so small, this is its source to the left of the chart.


The v13 sheet as you know now has the col G asset prices reversed and now ascending. What I am struggling with is how to select those vertical columns like above because I am still getting wrong facing chart lines that don't respect the data in the table, albeit with it's new direction for the x axis data (I saw all the gamma values update and they are correct in the tables).


I selected the blue column which is pictured here very near the x axis at col G first, but Option Gamma is always highest around the Strike price of 12400 and this chart below has it peaking on the right side of the chart and not the left where the 12400 asset price range is?


I deleted the x values in the category label but It doesn't matter which way I go about selecting the x values from the bottom up or top down -- where I get a single data range entry appearing in the category label -- if I green tick it and then go back to look at it it just has 40 single data references set. I don't understand why Apple won't just let you delete them permanently?


Do I have to delete the chart and start over?


I don't understand why simply changing the x axis order and updating the table has caused an issue with wrong facing chart lines, the data is correct in the tables... until you look at the wrong facing charts... and you've spent a whole day getting nowhere! (And you still have 50 odd charts to completely redo since the x axis direction change).


Cheers again ☺️






Reply

Dec 27, 2024 3:12 PM in response to Badunit

You do not have to select the data cells one at a time to get the chart to work correctly.

I've had too because Numbers selects the first column as the x axis as a default header for the sheet (eg implied volatility etc in col A). They can either be written in the category labels section as you mentioned or dragged from col A to col G individually. Dragging is easier and that method has has worked well in sheet v12 and now in v13.


It looks like you set the series name to be a cell near the bottom of your column.

Sorry where was this?


You do not need to recreate the charts but it might be easer to start over.

I did, thanks.


But still there was an issue re wrong facing chart curves not respecting a valid data table, but plotting curves back to front. I'm not sure what you mean by messed up, as sheet v12 charts were functioning as intended:




And I have other sheets that have produced high quality accurate Option Greeks charts:



... that is until I reordered the x axis values in col G today, which is why I am a little perplexed... because the only way I can get sheet v13 charts to respect what's in these newly ordered data tables == with the newly reversed x axis -- is to select the relevant column's cells one by one from the bottom -- (in the first image below, I haven't yet finished selecting individual cells all the way to the top, pls recall, the x axis asset prices now ascend from lower to higher values and from bottom to top of the tables) -- because selecting from the top (where a green or blue etc dot appears) and dragging down as one reference means the chart plots incorrectly and back to front despite the table data being double checked and valid. Pls refer to my back to front Gamma chart above where the peak is always near the Strike price (eg 12400) but not in the image above.



Correct facing, Long Call Delta and Gamma Chart (peaking correctly at Strike price 12400):

(only achieved by single cell selection from the bottom of the tables to the top):




Many thanks for the help and suggestions.


Reply

Dec 27, 2024 8:24 AM in response to Bardonicloud

I am sorry but it is really difficult to help you with these extremely large tables and charts and whatever changes you have made to the charts to get them like this. You are saying it is not making the charts correctly but it is not possible from here to see what you have selected for the chart data and and it also looks like you are manually changing the x axis labels and not doing it correctly. If you mess them up and get them out of order, Numbers doesn't care. It will show the data in correct order on the chart but the X axis labels may not match up if you've messed them up. For example, the first label on your chart should have been "implied volatility..." which aligns with the data on that row but it looks like you changed it to the cell that has "167.35", which is on a totally different row and is the incorrect label for the data being charted.


If you want to change the X axis labels to the column of numbers (versus the header column that is the default when a chart is made), select all the labels in the sidebar where it say "label references", delete them, select on the table (or type in) the range of cells you want as labels, then use the green checkmark to accept the change. Make sure you select the correct range that corresponds with your data. Numbers doesn't know or care if you do it wrong.

Reply

Dec 27, 2024 1:12 PM in response to Bardonicloud

There's just too much going on here to figure it out from this side of the Internet.


You do not have to select the data cells one at a time to get the chart to work correctly, unless you want it to chart it in some order other than top-to-bottom. Selecting cells one at a time is a great way to make a mistake. If you select the range for the data, it will chart it in order top-to-bottom. If you think it is doing otherwise when a range is selected, you are probably mistaken. I say "probably" but the chance is almost zero. So much else is messed up and one of those mistakes is much more likely to be the problem.


Your first screenshot from your latest post is showing you have something wrong. It looks like you set the series name to be a cell near the bottom of your column.


You do not need to recreate the charts but it might be easer to start over. That's up to you. In the sidebar you can correct everything by typing and/or by selecting ranges/cells on the table but it looks messed up pretty badly so starting over might be the best option, especially if you have several series on the chart that need to be fixed.



Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot Delete Unwanted X Axis Cell

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.