The legend is a side section of the chart that gives a small text description of each series. You can specify the text associated with each series in this legend, and specify where on the chart it should appear. Show A Note on String Values Only URL-safe characters are permitted in label strings. To be safe, you should URL-encode any strings containing characters not in the character set Syntax
1 [Optional] The position of the legend, and order of the legend entries. You can specify 2 and/or 3. If you specify both, separate them with a bar character. You can add an 's' to any value if you want empty legend entries in chdl to be skipped in the legend. Examples: 5, 6, 7, 8 Is there a way to make the reverse value of axis order dynamic? Thanks to all these great blog entries, I have a dynamic chart that displays different data based on a pulldown option (counts or amounts). Counts display in the helper table as positive integers, and amounts display as negative decimals, with custom format to display as currency. When I graph the data, the vertical axis shows proper logical stacking (0 upward to high value) for the counts, but amounts descend from the top (0) down to the low maximum (-$1M). If I choose inverse order when graphing the amounts, switching back to counts now shows the counts descending from the top of the chart. I'd like to only invert the order when the pulldown reads "amounts" (or values are negative). Negating the helper table values can be troublesome, since I use the negative amount to format the vertical axis (positives display as integers, negatives display as currency). This article shows you how to add a chart legend in Office 2016, and also how to customize the appearance of the legend, including the font, the border, and the background. WindowsmacOS Click the chart to which you want to add a legend, click the Chart Elements button To change the location of the legend, click the arrow next to Legend and then click the location that you want. Tips:
Format a chart legendOnce you add the chart legend, there are many things that you can do to change how it looks. Change font or font size
Change legend border or background
Tip: You can really make your legend stand out by adding an effect. Click Effects and then pick the effect that you want. A wide variety of effects is available, including shadows, glows, and soft edges. (Just be careful not to go overboard: you probably don't want to clutter the presentation of your data.) A legend can make your chart easier to read because it positions the labels for the data series outside the plot area of the chart. You can change the position of the legend and customize its colors and fonts. You can also edit the text in the legend and change the order of the entries in the legend. This step applies to Word 2016 for Mac only: On the View menu, click Print Layout. Click the chart, and then click the Chart Design tab. Click Add Chart Element > Legend. To change the position of the legend, choose Right, Top, Left, or Bottom. To change the format of the legend, under Labels, click Legend, click Legend Options, and then make the format changes that you want. |