Ask Your Question
0

[Calc] [Chart] Adding external label to a legend

asked 2018-05-14 16:18:39 +0200

bengineer gravatar image

updated 2018-05-14 18:37:30 +0200

I have a data series that I would like to label as follows:

image description

On the chart, I would like the legend (top right corner) to be labeled (as if it had its own, individual title, separate and distinct from the chart's Title) with the text of cell A1 ("Inlet pressure (PSI)"). I've tried playing around with the "Range for name" field and "Data labels" field, but as far as I can tell the "Range for Name" entry box is just responsible for labeling the entries within the legend itself, and changing the input in the "Data labels" field has not given me any visible changes.

I also cannot insert a text box and re-position it without getting a ton of formatting errors that I would rather not have to slog through and correct individually.

I appreciate the help.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
1

answered 2018-05-15 06:11:32 +0200

Ding Duck gravatar image

I.m not sure if this really answers your question, but may work? Dodgy but seems to work for me. Double click on the Chart and select the <titles> icon. this will allow you manually enter your chart titles. Format these accordingly, Font Size, Style etc When completed, your can drag and drop these anywhere on the Chart Hope this helps /home/ding/Pictures/Charts Naming.png

edit flag offensive delete link more

Comments

This sort of works. However, I can only add in one Subtitle field. It sounds like you're managing to insert multiple Title fields. How is this done?

Since I cannot embed images into a comment, see this Imgur link below for the results. https://imgur.com/a/5b6XQYV

bengineer gravatar imagebengineer ( 2018-05-16 23:25:55 +0200 )edit

Hi, when using the <titles> function, you have the following options available as Titles. 1. Title 2. Subtitle 3.X Axis 4. Y Axis 5. Secondary X Axis 6. Secondary Y Axis Obviously, you will have used 1. 3. 4. already. Suggesting to use the remaining fields purely as a Text Field and drag to wherever suits on the Chart Cheers

Ding Duck gravatar imageDing Duck ( 2018-05-17 14:02:09 +0200 )edit
0

answered 2018-05-17 14:50:08 +0200

bengineer gravatar image

I'm not sure if this helps anyone, but you can get a sort of workaround by the method used in this post.

I changed the Range for Name field of the first Data Series from "$Sheet1.$A$2" to "$Sheet1.$A$1:$A$2". Note that this requires expanding the physical footprint of the legend. Results are as below. It's not the prettiest solution, or the ideal one, but hopefully it helps someone.

image description

By filling the Subtitle field, and using the original Range for Name field, I get something that looks more like this. Depends on your preferences, I guess.

image description

edit flag offensive delete link more
0

answered 2018-05-14 20:34:37 +0200

Ratslinger gravatar image

Hello,

After digging around in the chart settings using MRI I don't see anything for setting a Title or such for the Legend (nor do I recall seeing anything in the past).

However there may be an alternative. Please see the answer by @m.a.riosv in this post -> how to have in graphs title, subtitle, x axis and y axis referred to cells.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-05-14 16:18:39 +0200

Seen: 53 times

Last updated: May 17