Skip to content

Commit e722a55

Browse files
committed
Add sample usage of trace object bindings
1 parent 3fc7978 commit e722a55

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Plotly.NET.Tests.CSharpConsole/Program.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -740,23 +740,23 @@ static void Main(string[] args)
740740
),
741741
Chart.ParallelCoord(
742742
dimensions: new Plotly.NET.TraceObjects.Dimension [] {
743-
Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "A", Values: new int [] {1, 4, 3}),
744-
Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "B", Values: new int [] {3, 1, 2})
743+
TraceObjects.InitParallelDimension<string, string, int>(Label: "A", Values: new int [] {1, 4, 3}),
744+
TraceObjects.InitParallelDimension<string, string, int>(Label: "B", Values: new int [] {3, 1, 2})
745745
},
746746
Name: "parcoords"
747747
),
748748
Chart.ParallelCategories(
749749
dimensions: new Plotly.NET.TraceObjects.Dimension [] {
750-
Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "A", Values: new int [] {1, 1, 2}),
751-
Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "B", Values: new int [] {3, 3, 3})
750+
TraceObjects.InitParallelDimension<string, string, int>(Label: "A", Values: new int [] {1, 1, 2}),
751+
TraceObjects.InitParallelDimension<string, string, int>(Label: "B", Values: new int [] {3, 3, 3})
752752
},
753753
Name: "parcats"
754754
),
755755
Chart.Sankey<string>(
756-
nodes: Plotly.NET.TraceObjects.SankeyNodes.init<string, int [], string, string>(
756+
nodes: TraceObjects.InitSankeyNodes<string, string, string>(
757757
Label: new string [] {"A", "B", "C", "D"}
758758
),
759-
links: Plotly.NET.TraceObjects.SankeyLinks.init<string, int>(
759+
links: TraceObjects.InitSankeyLinks<string, int>(
760760
Source: new int [] {0, 1, 1 },
761761
Target: new int [] {2, 2, 3 },
762762
Value: new int [] {1, 2, 5}

0 commit comments

Comments
 (0)