X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=97b410f480be0a20baca01ed7a2307499f6a7eee;hb=cbfcf21db4a2ef0f5db409591146f975ffe7b7f2;hp=0e6b98e0927214bbed00026fcb4c12b010aca1c2;hpb=436943f9fee49b1f892480f04f0dc4d5abc5fca0;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 0e6b98e..97b410f 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -35,7 +35,7 @@ Dygraph.OPTIONS_REFERENCE = // "default": "null", "labels": ["Legend"], "type": "{}", - "description": "Additional styles to apply to the currently-highlighted points div. For example, { 'font-weight': 'bold' } will make the labels bold." + "description": "Additional styles to apply to the currently-highlighted points div. For example, { 'fontWeight': 'bold' } will make the labels bold. In general, it is better to use CSS to style the .dygraph-legend class than to use this property." }, "drawPoints": { "default": "false", @@ -43,6 +43,12 @@ Dygraph.OPTIONS_REFERENCE = // "type": "boolean", "description": "Draw a small dot at each point, in addition to a line going through the point. This makes the individual data points easier to see, but can increase visual clutter in the chart. The small dot can be replaced with a custom rendering by supplying a drawPointCallback." }, + "drawGapEdgePoints": { + "default": "false", + "labels": ["Data Line display"], + "type": "boolean", + "description": "Draw points at the edges of gaps in the data. This improves visibility of small data segments or other data irregularities." + }, "drawPointCallback": { "default": "null", "labels": ["Data Line display"], @@ -364,7 +370,7 @@ Dygraph.OPTIONS_REFERENCE = // "labels": ["Data Line display"], "type": "array", "example": "[10, 2, 5, 2]", - "description": "A custom pattern array where the even index is a draw and odd is a space in pixels. If null then it draws a solid line. The array should have a even length as any odd lengthed array could be expressed as a smaller even length array." + "description": "A custom pattern array where the even index is a draw and odd is a space in pixels. If null then it draws a solid line. The array should have a even length as any odd lengthed array could be expressed as a smaller even length array. This is used to create dashed lines." }, "strokeBorderWidth": { "default": "null",