Bug 64884 - [FORMATTING]: Allow to add "X" grid lines after having created a chart without them
Summary: [FORMATTING]: Allow to add "X" grid lines after having created a chart withou...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 23:39 UTC by Francisco
Modified: 2013-06-30 23:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco 2013-05-22 23:39:21 UTC
As many should know, charts may have "X" and "Y" grid lines. Inserting a chart in Calc shows a Wizard that lets you choose the chart type, some styles, title, axis labels and this grids: "X" and "Y".

The problem is this: if the chart is already created, there isn't any way to add "X" grids. Although there _is_ a button for "Y" gris, I havent found any option, nor button through "Customize Toolbar" that would allow me to add this format.

This is a bit annoying in my case, because complex charts are something not-so-easy to format. And if one has already created a chart and missed this lines, one have to delete this chart and create a new one, reminding to add this gridlines.


Steps to reproduce: 
1) Creat a chart. Line, scatter, or any X-Y chart. 
2) Don't add to it "x" gridlines. This is the default format, so, selecting some series, inserting a chart and accepting the first one the wizard gives should be enough.
3) Try to add "x" grids

Actual results:
There's not any way (or at least, I haven't found out how) to add "X" grids.

Expected:
This lines should be easily added if needed, even if the chart has been already created.

Also: there should be a button for this action, since there's one for adding/removing "Y" grids.
Comment 1 Francisco 2013-05-22 23:42:45 UTC
Could this bug added to "easyhacks"?

Since it *is already* possible to add "x" grids to the chart, but no button for it, should it be easy?

Regards
Comment 2 Francisco 2013-05-23 04:09:15 UTC
Testing more things.

The file $HOME/.config/libreoffice/3/user/config/soffice.cfg/modules/schart/toolbar.xml stores information about the buttons (of the chart toolbar, of course).

there's a line: 

 <toolbar:toolbaritem xlink:href=".uno:ToggleGridHorizontal"/>

Wich, clearly indicates the button for "Y" gridlines. I added the following line 

 <toolbar:toolbaritem xlink:href=".uno:ToggleGridVertical"/>

below the first one. After starting Calc and inserting a chart, the new button appear, and it even has an icon... but saddly, it is disabled and  so it doesn't work :-(
Comment 3 George Lecker 2013-06-17 18:53:26 UTC
Received an odt file (table) without grids. Tried several options to insert grids in to table to no avail. Insert tab does not contain a grid sub, nor does view. On selecting print, no option is avail to show grids. Also tried Options Libre Office and checked bos re frids to no avail.
Comment 4 Francisco 2013-06-17 19:22:55 UTC
(In reply to comment #3)
> Received an odt file (table) without grids. Tried several options to insert
> grids in to table to no avail. Insert tab does not contain a grid sub, nor
> does view. On selecting print, no option is avail to show grids. Also tried
> Options Libre Office and checked bos re frids to no avail.

George:
This bug is about gridlines on charts, not about tables :-). If you any problem with a Writer table, you should fill a new bug.

Regards.
Comment 5 bfoman (inactive) 2013-06-28 12:31:03 UTC
Select the chart. Insert>Grids from the menu. You can enable/disable X/Y major/minor grid axes. 

Marked as RESOLVED WORKSFORME.

As for the Vertical Grid On/Off button - I haven't found one. Please file a new bug report as enhancement request to create one with your findings from comment 2.
Comment 6 Francisco 2013-06-28 13:52:14 UTC
@bfoman:

Thank you for let me now it. I didn't even think about that possiblity. I will fill another bug about the button.

Regards
Comment 7 Francisco 2013-06-30 23:30:50 UTC
Created bug 66422 for the "X" grid button.