Top "Legend-properties" questions

legend-properties refers to various chart libraries and the ability to programmatically customise legends in charts generated by those libraries.

generateLegend() Chart.JS V2

I´m trying to customize my legend I´m using the .generateLegend() to get the legend in a html way …

dom chart.js legend-properties
How can I add a 2-column legend to a Matlab plot?

Consider following code: t=0:.01:(2*pi); y=[sin(t);sin(t-pi/12);sin(t-pi/6);sin(t-pi/4)]; figure(1) clf subplot(6,1,5) plot(t,y) …

matlab plot graph legend legend-properties
Matlab: change order of entries in Figure legend

I have a Figure file where I would like to change the order of the entries (e.g., put the …

matlab matlab-figure legend legend-properties
onClick event to Hide dataset Chart.js V2

How can I make a html legend from Chart.js to hide/show the dataset of the chart, like the …

javascript html chart.js legend-properties
Add horizontal lines to stacked barplot in ggplot2 in R, and show in legend

I have a stacked barplot, something like the example below. I want to add one or two sets of horizontal …

r ggplot2 bar-chart legend legend-properties
Arguements of bbox_to_anchor() function

import matplotlib.pyplot as plt import numpy as np x = np.arange(10) fig = plt.figure() ax = plt.subplot(111) for i …

python matplotlib legend-properties
How to decrease the size of the legend in a figure?

The following code plots a figure. The code should work on Matlab >= R2014b. I want to remove the …

matlab matlab-figure legend legend-properties
Get ggplot2 legend to display percentage sign in r

Below is a reproducible example of the issue I am trying to solve. I have created a heatmap of sorts …

r ggplot2 legend legend-properties
Different legend-keys inside same legend in ggplot2

Let's say I don't need a 'proper' variable mapping but still would like to have legend keys to help the …

r ggplot2 legend-properties