From 7c35f1b21bd8de2a76b0f5fc76bf08a371d58bc9 Mon Sep 17 00:00:00 2001 From: Camilo Soto Montoya Date: Fri, 14 Oct 2016 23:42:07 -0500 Subject: [PATCH 1/2] added gridStrokeWidth and gridLineColor variables --- morris.js/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/morris.js/index.d.ts b/morris.js/index.d.ts index cf0af054b6..b29ddbc4f1 100644 --- a/morris.js/index.d.ts +++ b/morris.js/index.d.ts @@ -37,7 +37,11 @@ declare namespace morris { /** Set the font family of the axis labels (default: sans-serif). */ gridTextFamily?: string; /** Set the font weight of the axis labels (default: normal). */ - gridTextWeight?: string; + gridTextWeight?: string; + /** Set the stroke of the grid. */ + gridStrokeWidth?: number; + /** Set the line color of the grid. */ + gridLineColor?: string; } interface ILineOptions extends IGridChartOptions { @@ -147,4 +151,4 @@ declare module "morris" { export = Morris; } -declare var Morris: morris.MorrisStatic; \ No newline at end of file +declare var Morris: morris.MorrisStatic; From 04872300a18fa38d0d6ab9e40bc2a0d6bf8f5ef4 Mon Sep 17 00:00:00 2001 From: Camilo Soto Montoya Date: Mon, 14 Nov 2016 09:14:18 -0500 Subject: [PATCH 2/2] Update index.d.ts --- morris.js/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morris.js/index.d.ts b/morris.js/index.d.ts index b29ddbc4f1..8cdc09a294 100644 --- a/morris.js/index.d.ts +++ b/morris.js/index.d.ts @@ -38,9 +38,9 @@ declare namespace morris { gridTextFamily?: string; /** Set the font weight of the axis labels (default: normal). */ gridTextWeight?: string; - /** Set the stroke of the grid. */ + /** Set the stroke of the grid. (default: 0.5)*/ gridStrokeWidth?: number; - /** Set the line color of the grid. */ + /** Set the line color of the grid. (default: #aaa) */ gridLineColor?: string; }