From 2b83a12c70f2680f207460d78dccdc250bdcdb9e Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 30 Jul 2015 12:50:29 -0700 Subject: [PATCH] Add 'cursor' and 'interlacedColor'. to 'canvasjs'. --- canvasjs/canvasjs.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/canvasjs/canvasjs.d.ts b/canvasjs/canvasjs.d.ts index 6de602c7e..b6d9febe4 100644 --- a/canvasjs/canvasjs.d.ts +++ b/canvasjs/canvasjs.d.ts @@ -274,6 +274,13 @@ declare module CanvasJS { } interface ChartLegendOptions { + /** + * Sets the cursor type for legend items. + * Default: "default" + * Examples: "pointer", "crosshair" .. + */ + cursor?: string; + /** * Sets the font Size of Legend Text in pixels. * Default: 12 @@ -537,6 +544,16 @@ declare module CanvasJS { * Example: “red”, “#FEFDDF” .. */ gridColor?: string; + + /** + * Sets the Interlacing Color that alternates between the set interval. + * If the interval is not set explicitly, then the auto calculated interval is considered. + * The value of interlacedColor can be an "HTML Color Name" or "hex" code. + * Default: null + * Example: “#F8F1E4″, “#FEFDDF” + */ + interlacedColor?: string; + /** * Strip Lines are vertical or horizontal lines used to highlight/mark a certain region on the plot area. You can choose whether to draw a line at a specific position or shade a region on the plot area. Strip Lines are sometimes referred to as trend lines. * If you want to just mark a certain position on the axis, you can set the value attribute and it’ll draw a line at that position with the set thickness. If you want to shade a region instead, you need to set startValue and endValue attributes. This will fill the area within the specified range.