X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=92846ee5397dae40ac73fd8c791949aee47dd516;hb=3c10a0f3519355ee651d04bf2972bd31298eff18;hp=b5825e626f6abef474f7600bee9a299e6e520542;hpb=758a629f806fa73483f730fb343013acd0ace078;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index b5825e6..92846ee 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -476,6 +476,12 @@ Dygraph.OPTIONS_REFERENCE = // "default": "null", "description": "Text to display to the left of the chart's y-axis. You can supply any HTML for this value, not just text. If you wish to style it using CSS, use the 'dygraph-label' or 'dygraph-ylabel' classes. The text will be rotated 90 degrees by default, so CSS rules may behave in unintuitive ways. No additional space is set aside for a y-axis label. If you need more space, increase the width of the y-axis tick labels using the yAxisLabelWidth option. If you need a wider div for the y-axis label, either style it that way with CSS (but remember that it's rotated, so width is controlled by the 'height' property) or set the yLabelWidth option." }, + "y2label": { + "labels": ["Chart labels"], + "type": "string", + "default": "null", + "description": "Text to display to the right of the chart's secondary y-axis. This label is only displayed if a secondary y-axis is present. See this test for an example of how to do this. The comments for the 'ylabel' option generally apply here as well. This label gets a 'dygraph-y2label' instead of a 'dygraph-ylabel' class." + }, "yLabelWidth": { "labels": ["Chart labels"], "type": "integer",