Skip to content

Commit ae100d2

Browse files
committed
Fixed withMarginSize
1 parent c7a893c commit ae100d2

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

docs/content/heatmaps.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ Chart.Heatmap(matrix,colnames,rownames,Colorscale=colorscaleValue,Showscale=true
3333
|> Chart.withSize(700.,500.)
3434
|> Chart.withMarginSize(Left=200.)
3535
(*** include-it:heat1 ***)
36-
|> Chart.Show
36+
//|> Chart.Show
3737

src/FSharp.Plotly/ChartExtensions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ module ChartExtensions =
219219
// Set the margin of a Chart
220220
static member withMarginSize(?Left,?Right,?Top,?Bottom,?Pad,?Autoexpand) =
221221
let margin =
222-
Margin.init (Margin.style (?Left=Left,?Right=Right,?Top=Top,?Bottom=Bottom,?Pad=Pad,?Autoexpand=Autoexpand))
222+
Margin.init ( ?Left=Left,?Right=Right,?Top=Top,?Bottom=Bottom,?Pad=Pad,?Autoexpand=Autoexpand )
223223
Chart.withMargin(margin)
224224

225225

src/FSharp.Plotly/paket.template

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
type project
2+
title
3+
FSharp.Plotly
4+
owners
5+
Timo Mühlhaus
6+
authors
7+
Timo Mühlhaus
8+
projectUrl
9+
http://github.com/muehlhaus/FSharp.Plotly
10+
iconUrl
11+
https://raw.githubusercontent.com/muehlhaus/FSharp.Plotly/master/docs/files/img/logo.png
12+
licenseUrl
13+
http://github.com/muehlhaus/FSharp.Plotly/blob/master/LICENSE.txt
14+
requireLicenseAcceptance
15+
false
16+
copyright
17+
Copyright 2015
18+
tags
19+
Charting FSharp F# data visualization html5 javascript chart plotly
20+
summary
21+
A F# interactive charting library using plotly.js
22+
description
23+
A F# interactive charting library using plotly.js
24+
files
25+
../../bin/Newtonsoft.Json.dll ==> lib/net45
26+

0 commit comments

Comments
 (0)