├── Plotly.H5
├── plotly-h5-logo.png
├── Props
│ ├── Steps.cs
│ ├── Images.cs
│ ├── Layers.cs
│ ├── Shapes.cs
│ ├── Styles.cs
│ ├── Totals.cs
│ ├── Sliders.cs
│ ├── Frames.cs
│ ├── Dimensions.cs
│ ├── Diagonal.cs
│ ├── Annotations.cs
│ ├── Rangebreaks.cs
│ ├── Updatemenus.cs
│ ├── Aggregations.cs
│ ├── Colorscales.cs
│ ├── Tickformatstops.cs
│ ├── Root.cs
│ ├── Buttons.cs
│ ├── Selected.cs
│ ├── Unselected.cs
│ ├── Legendgrouptitle.cs
│ ├── Leaf.cs
│ ├── Caps.cs
│ ├── Circle.cs
│ ├── Slices.cs
│ ├── Up.cs
│ ├── Eye.cs
│ ├── Activeshape.cs
│ ├── Aspectratio.cs
│ ├── Border.cs
│ ├── Meanline.cs
│ ├── Frame.cs
│ ├── Stream.cs
│ ├── Number.cs
│ ├── Connector.cs
│ ├── Threshold.cs
│ ├── Transforms.cs
│ ├── Decreasing.cs
│ ├── Increasing.cs
│ ├── Project.cs
│ ├── Tickfont.cs
│ ├── Lightposition.cs
│ ├── Labelfont.cs
│ ├── Rangefont.cs
│ ├── Spaceframe.cs
│ ├── Pad.cs
│ ├── Rotation.cs
│ ├── Camera.cs
│ ├── Uniformtext.cs
│ ├── Font.cs
│ ├── Center.cs
│ ├── Colorscale.cs
│ ├── Sort.cs
│ ├── Margin.cs
│ ├── Gauge.cs
│ ├── Animation.cs
│ ├── Currentvalue.cs
│ ├── Aggregate.cs
│ ├── Edits.cs
│ ├── Domain.cs
│ ├── Cumulative.cs
│ ├── Gradient.cs
│ ├── Delta.cs
│ ├── Pathbar.cs
│ ├── Fill.cs
│ ├── Lataxis.cs
│ ├── Lonaxis.cs
│ └── Newshape.cs
├── Plotly.H5.csproj
└── h5.json
├── Plotly.Sharp
├── plotly-sharp-logo.png
├── Props
│ ├── Steps.cs
│ ├── Images.cs
│ ├── Layers.cs
│ ├── Shapes.cs
│ ├── Styles.cs
│ ├── Sliders.cs
│ ├── Totals.cs
│ ├── Frames.cs
│ ├── Diagonal.cs
│ ├── Dimensions.cs
│ ├── Annotations.cs
│ ├── Rangebreaks.cs
│ ├── Updatemenus.cs
│ ├── Aggregations.cs
│ ├── Colorscales.cs
│ ├── Tickformatstops.cs
│ ├── Root.cs
│ ├── Buttons.cs
│ ├── Selected.cs
│ ├── Unselected.cs
│ ├── Legendgrouptitle.cs
│ ├── Leaf.cs
│ ├── Caps.cs
│ ├── Circle.cs
│ ├── Slices.cs
│ ├── Up.cs
│ ├── Eye.cs
│ ├── Activeshape.cs
│ ├── Aspectratio.cs
│ ├── Border.cs
│ ├── Meanline.cs
│ ├── Frame.cs
│ ├── Stream.cs
│ ├── Number.cs
│ ├── Connector.cs
│ ├── Threshold.cs
│ ├── Transforms.cs
│ ├── Decreasing.cs
│ ├── Increasing.cs
│ ├── Project.cs
│ ├── Tickfont.cs
│ ├── Lightposition.cs
│ ├── Labelfont.cs
│ ├── Rangefont.cs
│ ├── Spaceframe.cs
│ ├── Pad.cs
│ ├── Rotation.cs
│ ├── Camera.cs
│ ├── Uniformtext.cs
│ ├── Font.cs
│ ├── Center.cs
│ ├── Colorscale.cs
│ ├── Sort.cs
│ ├── Margin.cs
│ ├── Gauge.cs
│ ├── Animation.cs
│ ├── Currentvalue.cs
│ ├── Aggregate.cs
│ ├── Edits.cs
│ ├── Domain.cs
│ ├── Cumulative.cs
│ ├── Gradient.cs
│ ├── Delta.cs
│ ├── Pathbar.cs
│ ├── Fill.cs
│ ├── Lataxis.cs
│ ├── Lonaxis.cs
│ └── Newshape.cs
└── Plotly.Sharp.csproj
├── Plotly.Sharp.Demo
├── Plotly.Sharp.Demo.csproj
└── Program.cs
├── Plotly.Generator
├── Plotly.Generator.fsproj
├── LICENSE
├── AssemblyInfo.fs
├── Program.fs
└── Utils.fs
├── LICENSE
├── README.md
└── Plotly.Sharp.sln
/Plotly.H5/plotly-h5-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/curiosity-ai/plotly-sharp/HEAD/Plotly.H5/plotly-h5-logo.png
--------------------------------------------------------------------------------
/Plotly.Sharp/plotly-sharp-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/curiosity-ai/plotly-sharp/HEAD/Plotly.Sharp/plotly-sharp-logo.png
--------------------------------------------------------------------------------
/Plotly.Sharp.Demo/Plotly.Sharp.Demo.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net9.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Plotly.Sharp.Demo/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Plotly.Sharp.Demo
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | var testData = new[]
10 | {
11 | new float[]{ 1, 20, 30 },
12 | new float[]{20, 1, 60 },
13 | new float[]{30, 60, 1 }
14 | };
15 |
16 | var chart = new Plot(Plot.traces(Traces.heatmap(Heatmap.z(testData))));
17 |
18 | Console.WriteLine(chart.Render());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Plotly.H5/Props/Steps.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Steps
15 | {
16 | public static Box step(params Box[] properties) => Interop.mkStepsAttr("step", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Steps.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Steps
15 | {
16 | public static Box step(params Box[] properties) => Interop.mkStepsAttr("step", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Images.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Images
15 | {
16 | public static Box image(params Box[] properties) => Interop.mkImagesAttr("image", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Layers.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Layers
15 | {
16 | public static Box layer(params Box[] properties) => Interop.mkLayersAttr("layer", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Shapes.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Shapes
15 | {
16 | public static Box shape(params Box[] properties) => Interop.mkShapesAttr("shape", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Styles.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Styles
15 | {
16 | public static Box style(params Box[] properties) => Interop.mkStylesAttr("style", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Totals.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Totals
15 | {
16 | public static Box marker(params Box[] properties) => Interop.mkTotalsAttr("marker", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Images.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Images
15 | {
16 | public static Box image(params Box[] properties) => Interop.mkImagesAttr("image", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Layers.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Layers
15 | {
16 | public static Box layer(params Box[] properties) => Interop.mkLayersAttr("layer", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Shapes.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Shapes
15 | {
16 | public static Box shape(params Box[] properties) => Interop.mkShapesAttr("shape", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Styles.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Styles
15 | {
16 | public static Box style(params Box[] properties) => Interop.mkStylesAttr("style", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Sliders.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Sliders
15 | {
16 | public static Box slider(params Box[] properties) => Interop.mkSlidersAttr("slider", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Sliders.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Sliders
15 | {
16 | public static Box slider(params Box[] properties) => Interop.mkSlidersAttr("slider", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Totals.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Totals
15 | {
16 | public static Box marker(params Box[] properties) => Interop.mkTotalsAttr("marker", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Frames.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Frames
15 | {
16 | public static Box framesEntry(params Box[] properties) => Interop.mkFramesAttr("frames_entry", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Frames.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Frames
15 | {
16 | public static Box framesEntry(params Box[] properties) => Interop.mkFramesAttr("frames_entry", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Dimensions.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Dimensions
15 | {
16 | public static Box dimension(params Box[] properties) => Interop.mkDimensionsAttr("dimension", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Diagonal.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Diagonal
15 | {
16 | /// Determines whether or not subplots on the diagonal are displayed.
17 | public static Box visible(bool val) => Interop.mkDiagonalAttr("visible", val);
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Diagonal.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Diagonal
15 | {
16 | /// Determines whether or not subplots on the diagonal are displayed.
17 | public static Box visible(bool val) => Interop.mkDiagonalAttr("visible", val);
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Dimensions.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Dimensions
15 | {
16 | public static Box dimension(params Box[] properties) => Interop.mkDimensionsAttr("dimension", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Annotations.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Annotations
15 | {
16 | public static Box annotation(params Box[] properties) => Interop.mkAnnotationsAttr("annotation", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Rangebreaks.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Rangebreaks
15 | {
16 | public static Box rangebreak(params Box[] properties) => Interop.mkRangebreaksAttr("rangebreak", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Updatemenus.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Updatemenus
15 | {
16 | public static Box updatemenu(params Box[] properties) => Interop.mkUpdatemenusAttr("updatemenu", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Annotations.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Annotations
15 | {
16 | public static Box annotation(params Box[] properties) => Interop.mkAnnotationsAttr("annotation", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Rangebreaks.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Rangebreaks
15 | {
16 | public static Box rangebreak(params Box[] properties) => Interop.mkRangebreaksAttr("rangebreak", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Updatemenus.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Updatemenus
15 | {
16 | public static Box updatemenu(params Box[] properties) => Interop.mkUpdatemenusAttr("updatemenu", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Aggregations.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Aggregations
15 | {
16 | public static Box aggregation(params Box[] properties) => Interop.mkAggregationsAttr("aggregation", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Aggregations.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Aggregations
15 | {
16 | public static Box aggregation(params Box[] properties) => Interop.mkAggregationsAttr("aggregation", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Colorscales.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Colorscales
15 | {
16 | public static Box concentrationscales(params Box[] properties) => Interop.mkColorscalesAttr("concentrationscales", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Tickformatstops.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Tickformatstops
15 | {
16 | public static Box tickformatstop(params Box[] properties) => Interop.mkTickformatstopsAttr("tickformatstop", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Colorscales.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Colorscales
15 | {
16 | public static Box concentrationscales(params Box[] properties) => Interop.mkColorscalesAttr("concentrationscales", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Tickformatstops.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Tickformatstops
15 | {
16 | public static Box tickformatstop(params Box[] properties) => Interop.mkTickformatstopsAttr("tickformatstop", Bindings.flattenProperties(properties));
17 | }
18 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Root.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Root
15 | {
16 | /// sets the color of the root node for a sunburst/treemap/icicle trace. this has no effect when a colorscale is used to set the markers.
17 | public static Box color(string val) => Interop.mkRootAttr("color", val);
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Root.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Root
15 | {
16 | /// sets the color of the root node for a sunburst/treemap/icicle trace. this has no effect when a colorscale is used to set the markers.
17 | public static Box color(string val) => Interop.mkRootAttr("color", val);
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Buttons.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Buttons
15 | {
16 | /// Sets the specifications for each buttons. By default, a range selector comes with no buttons.
17 | public static Box button(params Box[] properties) => Interop.mkButtonsAttr("button", Bindings.flattenProperties(properties));
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Buttons.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Buttons
15 | {
16 | /// Sets the specifications for each buttons. By default, a range selector comes with no buttons.
17 | public static Box button(params Box[] properties) => Interop.mkButtonsAttr("button", Bindings.flattenProperties(properties));
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Selected.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Selected
15 | {
16 | public static Box marker(params Box[] properties) => Interop.mkSelectedAttr("marker", Bindings.flattenProperties(properties));
17 | public static Box textfont(params Box[] properties) => Interop.mkSelectedAttr("textfont", Bindings.flattenProperties(properties));
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Selected.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Selected
15 | {
16 | public static Box marker(params Box[] properties) => Interop.mkSelectedAttr("marker", Bindings.flattenProperties(properties));
17 | public static Box textfont(params Box[] properties) => Interop.mkSelectedAttr("textfont", Bindings.flattenProperties(properties));
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Unselected.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Unselected
15 | {
16 | public static Box marker(params Box[] properties) => Interop.mkUnselectedAttr("marker", Bindings.flattenProperties(properties));
17 | public static Box textfont(params Box[] properties) => Interop.mkUnselectedAttr("textfont", Bindings.flattenProperties(properties));
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Unselected.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Unselected
15 | {
16 | public static Box marker(params Box[] properties) => Interop.mkUnselectedAttr("marker", Bindings.flattenProperties(properties));
17 | public static Box textfont(params Box[] properties) => Interop.mkUnselectedAttr("textfont", Bindings.flattenProperties(properties));
18 | }
19 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Legendgrouptitle.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Legendgrouptitle
15 | {
16 | /// Sets the title of the legend group.
17 | public static Box text(string val) => Interop.mkLegendgrouptitleAttr("text", val);
18 | /// Sets this legend group's title font.
19 | public static Box font(params Box[] properties) => Interop.mkLegendgrouptitleAttr("font", Bindings.flattenProperties(properties));
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Legendgrouptitle.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Legendgrouptitle
15 | {
16 | /// Sets the title of the legend group.
17 | public static Box text(string val) => Interop.mkLegendgrouptitleAttr("text", val);
18 | /// Sets this legend group's title font.
19 | public static Box font(params Box[] properties) => Interop.mkLegendgrouptitleAttr("font", Bindings.flattenProperties(properties));
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Leaf.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Leaf
15 | {
16 | /// Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7
17 | public static Box opacity(int val) => Interop.mkLeafAttr("opacity", val);
18 | /// Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7
19 | public static Box opacity(float val) => Interop.mkLeafAttr("opacity", val);
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Leaf.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Leaf
15 | {
16 | /// Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7
17 | public static Box opacity(int val) => Interop.mkLeafAttr("opacity", val);
18 | /// Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7
19 | public static Box opacity(float val) => Interop.mkLeafAttr("opacity", val);
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Caps.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Caps
15 | {
16 | public static Box x(params Box[] properties) => Interop.mkCapsAttr("x", Bindings.flattenProperties(properties));
17 | public static Box y(params Box[] properties) => Interop.mkCapsAttr("y", Bindings.flattenProperties(properties));
18 | public static Box z(params Box[] properties) => Interop.mkCapsAttr("z", Bindings.flattenProperties(properties));
19 | }
20 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Caps.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Caps
15 | {
16 | public static Box x(params Box[] properties) => Interop.mkCapsAttr("x", Bindings.flattenProperties(properties));
17 | public static Box y(params Box[] properties) => Interop.mkCapsAttr("y", Bindings.flattenProperties(properties));
18 | public static Box z(params Box[] properties) => Interop.mkCapsAttr("z", Bindings.flattenProperties(properties));
19 | }
20 | }
--------------------------------------------------------------------------------
/Plotly.Generator/Plotly.Generator.fsproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net9.0
5 | Exe
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Plotly.H5/Props/Circle.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Circle
15 | {
16 | /// Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*.
17 | public static Box radius(int val) => Interop.mkCircleAttr("radius", val);
18 | /// Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*.
19 | public static Box radius(float val) => Interop.mkCircleAttr("radius", val);
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Circle.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Circle
15 | {
16 | /// Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*.
17 | public static Box radius(int val) => Interop.mkCircleAttr("radius", val);
18 | /// Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*.
19 | public static Box radius(float val) => Interop.mkCircleAttr("radius", val);
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Slices.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Slices
15 | {
16 | public static Box x(params Box[] properties) => Interop.mkSlicesAttr("x", Bindings.flattenProperties(properties));
17 | public static Box y(params Box[] properties) => Interop.mkSlicesAttr("y", Bindings.flattenProperties(properties));
18 | public static Box z(params Box[] properties) => Interop.mkSlicesAttr("z", Bindings.flattenProperties(properties));
19 | }
20 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Slices.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Slices
15 | {
16 | public static Box x(params Box[] properties) => Interop.mkSlicesAttr("x", Bindings.flattenProperties(properties));
17 | public static Box y(params Box[] properties) => Interop.mkSlicesAttr("y", Bindings.flattenProperties(properties));
18 | public static Box z(params Box[] properties) => Interop.mkSlicesAttr("z", Bindings.flattenProperties(properties));
19 | }
20 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Up.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Up
15 | {
16 | public static Box x(int val) => Interop.mkUpAttr("x", val);
17 | public static Box x(float val) => Interop.mkUpAttr("x", val);
18 | public static Box y(int val) => Interop.mkUpAttr("y", val);
19 | public static Box y(float val) => Interop.mkUpAttr("y", val);
20 | public static Box z(int val) => Interop.mkUpAttr("z", val);
21 | public static Box z(float val) => Interop.mkUpAttr("z", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Up.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Up
15 | {
16 | public static Box x(int val) => Interop.mkUpAttr("x", val);
17 | public static Box x(float val) => Interop.mkUpAttr("x", val);
18 | public static Box y(int val) => Interop.mkUpAttr("y", val);
19 | public static Box y(float val) => Interop.mkUpAttr("y", val);
20 | public static Box z(int val) => Interop.mkUpAttr("z", val);
21 | public static Box z(float val) => Interop.mkUpAttr("z", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Eye.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Eye
15 | {
16 | public static Box x(int val) => Interop.mkEyeAttr("x", val);
17 | public static Box x(float val) => Interop.mkEyeAttr("x", val);
18 | public static Box y(int val) => Interop.mkEyeAttr("y", val);
19 | public static Box y(float val) => Interop.mkEyeAttr("y", val);
20 | public static Box z(int val) => Interop.mkEyeAttr("z", val);
21 | public static Box z(float val) => Interop.mkEyeAttr("z", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Eye.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Eye
15 | {
16 | public static Box x(int val) => Interop.mkEyeAttr("x", val);
17 | public static Box x(float val) => Interop.mkEyeAttr("x", val);
18 | public static Box y(int val) => Interop.mkEyeAttr("y", val);
19 | public static Box y(float val) => Interop.mkEyeAttr("y", val);
20 | public static Box z(int val) => Interop.mkEyeAttr("z", val);
21 | public static Box z(float val) => Interop.mkEyeAttr("z", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Activeshape.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Activeshape
15 | {
16 | /// Sets the color filling the active shape' interior.
17 | public static Box fillcolor(string val) => Interop.mkActiveshapeAttr("fillcolor", val);
18 | /// Sets the opacity of the active shape.
19 | public static Box opacity(int val) => Interop.mkActiveshapeAttr("opacity", val);
20 | /// Sets the opacity of the active shape.
21 | public static Box opacity(float val) => Interop.mkActiveshapeAttr("opacity", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Activeshape.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Activeshape
15 | {
16 | /// Sets the color filling the active shape' interior.
17 | public static Box fillcolor(string val) => Interop.mkActiveshapeAttr("fillcolor", val);
18 | /// Sets the opacity of the active shape.
19 | public static Box opacity(int val) => Interop.mkActiveshapeAttr("opacity", val);
20 | /// Sets the opacity of the active shape.
21 | public static Box opacity(float val) => Interop.mkActiveshapeAttr("opacity", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Aspectratio.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Aspectratio
15 | {
16 | public static Box x(int val) => Interop.mkAspectratioAttr("x", val);
17 | public static Box x(float val) => Interop.mkAspectratioAttr("x", val);
18 | public static Box y(int val) => Interop.mkAspectratioAttr("y", val);
19 | public static Box y(float val) => Interop.mkAspectratioAttr("y", val);
20 | public static Box z(int val) => Interop.mkAspectratioAttr("z", val);
21 | public static Box z(float val) => Interop.mkAspectratioAttr("z", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Aspectratio.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Aspectratio
15 | {
16 | public static Box x(int val) => Interop.mkAspectratioAttr("x", val);
17 | public static Box x(float val) => Interop.mkAspectratioAttr("x", val);
18 | public static Box y(int val) => Interop.mkAspectratioAttr("y", val);
19 | public static Box y(float val) => Interop.mkAspectratioAttr("y", val);
20 | public static Box z(int val) => Interop.mkAspectratioAttr("z", val);
21 | public static Box z(float val) => Interop.mkAspectratioAttr("z", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Border.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Border
15 | {
16 | /// Sets the stroke color. It accepts a specific color. If the color is not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning.
17 | public static Box color(string val) => Interop.mkBorderAttr("color", val);
18 | /// Specifies what fraction of the marker area is covered with the border.
19 | public static Box arearatio(int val) => Interop.mkBorderAttr("arearatio", val);
20 | /// Specifies what fraction of the marker area is covered with the border.
21 | public static Box arearatio(float val) => Interop.mkBorderAttr("arearatio", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Border.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Border
15 | {
16 | /// Sets the stroke color. It accepts a specific color. If the color is not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning.
17 | public static Box color(string val) => Interop.mkBorderAttr("color", val);
18 | /// Specifies what fraction of the marker area is covered with the border.
19 | public static Box arearatio(int val) => Interop.mkBorderAttr("arearatio", val);
20 | /// Specifies what fraction of the marker area is covered with the border.
21 | public static Box arearatio(float val) => Interop.mkBorderAttr("arearatio", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Curiosity GmbH
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/Plotly.Generator/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Shmew
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Plotly.Generator/AssemblyInfo.fs:
--------------------------------------------------------------------------------
1 | // Auto-Generated by FAKE; do not edit
2 | namespace System
3 | open System.Reflection
4 | open System.Runtime.CompilerServices
5 |
6 | []
7 | []
8 | []
9 | []
10 | []
11 | []
12 | []
13 | do ()
14 |
15 | module internal AssemblyVersionInformation =
16 | let [] AssemblyTitle = "Feliz.Generator.Plotly"
17 | let [] AssemblyProduct = "Feliz.Plotly"
18 | let [] AssemblyDescription = "Fable bindings written in the Feliz-style for plotly.js"
19 | let [] AssemblyVersion = "0.17.0"
20 | let [] AssemblyFileVersion = "0.17.0"
21 | let [] AssemblyConfiguration = "Debug"
22 | let [] InternalsVisibleTo = "Feliz.Generator.Plotly.Tests"
23 |
--------------------------------------------------------------------------------
/Plotly.H5/Props/Meanline.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Meanline
15 | {
16 | /// Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other.
17 | public static Box visible(bool val) => Interop.mkMeanlineAttr("visible", val);
18 | /// Sets the mean line color.
19 | public static Box color(string val) => Interop.mkMeanlineAttr("color", val);
20 | /// Sets the mean line width.
21 | public static Box width(int val) => Interop.mkMeanlineAttr("width", val);
22 | /// Sets the mean line width.
23 | public static Box width(float val) => Interop.mkMeanlineAttr("width", val);
24 | }
25 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Meanline.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Meanline
15 | {
16 | /// Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other.
17 | public static Box visible(bool val) => Interop.mkMeanlineAttr("visible", val);
18 | /// Sets the mean line color.
19 | public static Box color(string val) => Interop.mkMeanlineAttr("color", val);
20 | /// Sets the mean line width.
21 | public static Box width(int val) => Interop.mkMeanlineAttr("width", val);
22 | /// Sets the mean line width.
23 | public static Box width(float val) => Interop.mkMeanlineAttr("width", val);
24 | }
25 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Frame.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Frame
15 | {
16 | /// The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration.
17 | public static Box duration(int val) => Interop.mkFrameAttr("duration", val);
18 | /// The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration.
19 | public static Box duration(float val) => Interop.mkFrameAttr("duration", val);
20 | /// Redraw the plot at completion of the transition. This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot
21 | public static Box redraw(bool val) => Interop.mkFrameAttr("redraw", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Frame.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Frame
15 | {
16 | /// The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration.
17 | public static Box duration(int val) => Interop.mkFrameAttr("duration", val);
18 | /// The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration.
19 | public static Box duration(float val) => Interop.mkFrameAttr("duration", val);
20 | /// Redraw the plot at completion of the transition. This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot
21 | public static Box redraw(bool val) => Interop.mkFrameAttr("redraw", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Stream.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Stream
15 | {
16 | /// The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
17 | public static Box token(string val) => Interop.mkStreamAttr("token", val);
18 | /// Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.
19 | public static Box maxpoints(int val) => Interop.mkStreamAttr("maxpoints", val);
20 | /// Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.
21 | public static Box maxpoints(float val) => Interop.mkStreamAttr("maxpoints", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Stream.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Stream
15 | {
16 | /// The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details.
17 | public static Box token(string val) => Interop.mkStreamAttr("token", val);
18 | /// Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.
19 | public static Box maxpoints(int val) => Interop.mkStreamAttr("maxpoints", val);
20 | /// Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot.
21 | public static Box maxpoints(float val) => Interop.mkStreamAttr("maxpoints", val);
22 | }
23 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Number.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Number
15 | {
16 | /// Sets the value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format.
17 | public static Box valueformat(string val) => Interop.mkNumberAttr("valueformat", val);
18 | /// Set the font used to display main number
19 | public static Box font(params Box[] properties) => Interop.mkNumberAttr("font", Bindings.flattenProperties(properties));
20 | /// Sets a prefix appearing before the number.
21 | public static Box prefix(string val) => Interop.mkNumberAttr("prefix", val);
22 | /// Sets a suffix appearing next to the number.
23 | public static Box suffix(string val) => Interop.mkNumberAttr("suffix", val);
24 | }
25 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Number.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Number
15 | {
16 | /// Sets the value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format.
17 | public static Box valueformat(string val) => Interop.mkNumberAttr("valueformat", val);
18 | /// Set the font used to display main number
19 | public static Box font(params Box[] properties) => Interop.mkNumberAttr("font", Bindings.flattenProperties(properties));
20 | /// Sets a prefix appearing before the number.
21 | public static Box prefix(string val) => Interop.mkNumberAttr("prefix", val);
22 | /// Sets a suffix appearing next to the number.
23 | public static Box suffix(string val) => Interop.mkNumberAttr("suffix", val);
24 | }
25 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Connector.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Connector
15 | {
16 | /// Sets the fill color.
17 | public static Box fillcolor(string val) => Interop.mkConnectorAttr("fillcolor", val);
18 | public static Box line(params Box[] properties) => Interop.mkConnectorAttr("line", Bindings.flattenProperties(properties));
19 | /// Determines if connector regions and lines are drawn.
20 | public static Box visible(bool val) => Interop.mkConnectorAttr("visible", val);
21 | }
22 |
23 | public static partial class Connector
24 | {
25 | /// Sets the shape of connector lines.
26 | public static partial class Mode
27 | {
28 | public static Box between() => Interop.mkConnectorAttr("mode", "between");
29 | public static Box spanning() => Interop.mkConnectorAttr("mode", "spanning");
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Threshold.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Threshold
15 | {
16 | public static Box line(params Box[] properties) => Interop.mkThresholdAttr("line", Bindings.flattenProperties(properties));
17 | /// Sets the thickness of the threshold line as a fraction of the thickness of the gauge.
18 | public static Box thickness(int val) => Interop.mkThresholdAttr("thickness", val);
19 | /// Sets the thickness of the threshold line as a fraction of the thickness of the gauge.
20 | public static Box thickness(float val) => Interop.mkThresholdAttr("thickness", val);
21 | /// Sets a treshold value drawn as a line.
22 | public static Box value(int val) => Interop.mkThresholdAttr("value", val);
23 | /// Sets a treshold value drawn as a line.
24 | public static Box value(float val) => Interop.mkThresholdAttr("value", val);
25 | }
26 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Connector.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Connector
15 | {
16 | /// Sets the fill color.
17 | public static Box fillcolor(string val) => Interop.mkConnectorAttr("fillcolor", val);
18 | public static Box line(params Box[] properties) => Interop.mkConnectorAttr("line", Bindings.flattenProperties(properties));
19 | /// Determines if connector regions and lines are drawn.
20 | public static Box visible(bool val) => Interop.mkConnectorAttr("visible", val);
21 | }
22 |
23 | public static partial class Connector
24 | {
25 | /// Sets the shape of connector lines.
26 | public static partial class Mode
27 | {
28 | public static Box between() => Interop.mkConnectorAttr("mode", "between");
29 | public static Box spanning() => Interop.mkConnectorAttr("mode", "spanning");
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Threshold.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Threshold
15 | {
16 | public static Box line(params Box[] properties) => Interop.mkThresholdAttr("line", Bindings.flattenProperties(properties));
17 | /// Sets the thickness of the threshold line as a fraction of the thickness of the gauge.
18 | public static Box thickness(int val) => Interop.mkThresholdAttr("thickness", val);
19 | /// Sets the thickness of the threshold line as a fraction of the thickness of the gauge.
20 | public static Box thickness(float val) => Interop.mkThresholdAttr("thickness", val);
21 | /// Sets a treshold value drawn as a line.
22 | public static Box value(int val) => Interop.mkThresholdAttr("value", val);
23 | /// Sets a treshold value drawn as a line.
24 | public static Box value(float val) => Interop.mkThresholdAttr("value", val);
25 | }
26 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Transforms.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Transforms
15 | {
16 | public static Box aggregate(params Box[] properties) => Interop.mkTransformsAttr("aggregate", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkAggregateAttr("type", "aggregate") })));
17 | public static Box filter(params Box[] properties) => Interop.mkTransformsAttr("filter", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkFilterAttr("type", "filter") })));
18 | public static Box groupby(params Box[] properties) => Interop.mkTransformsAttr("groupby", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkGroupbyAttr("type", "groupby") })));
19 | public static Box sort(params Box[] properties) => Interop.mkTransformsAttr("sort", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkSortAttr("type", "sort") })));
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.Sharp/Props/Transforms.cs:
--------------------------------------------------------------------------------
1 | namespace Plotly
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Transforms
15 | {
16 | public static Box aggregate(params Box[] properties) => Interop.mkTransformsAttr("aggregate", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkAggregateAttr("type", "aggregate") })));
17 | public static Box filter(params Box[] properties) => Interop.mkTransformsAttr("filter", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkFilterAttr("type", "filter") })));
18 | public static Box groupby(params Box[] properties) => Interop.mkTransformsAttr("groupby", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkGroupbyAttr("type", "groupby") })));
19 | public static Box sort(params Box[] properties) => Interop.mkTransformsAttr("sort", Bindings.flattenProperties(properties.Concat(new[] { Interop.mkSortAttr("type", "sort") })));
20 | }
21 | }
--------------------------------------------------------------------------------
/Plotly.H5/Props/Decreasing.cs:
--------------------------------------------------------------------------------
1 | namespace PlotlyH5
2 | {
3 | /*////////////////////////////////
4 | /// THIS FILE IS AUTO-GENERATED //
5 | /// by propsDocument //
6 | ////////////////////////////////*/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using Types;
11 | using H5;
12 | using static H5.Core.dom;
13 |
14 | public static partial class Decreasing
15 | {
16 | public static Box