Skip to content

Commit 44a7af9

Browse files
Joseph Damibanicolaskruchten
Joseph Damiba
authored andcommitted
textemplate example charts will be inlined once branch is merged
1 parent d95ec99 commit 44a7af9

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

_posts/plotly_js/transforms/texttemplate/2019-10-21-add_text_template.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Add Text Template in Pie Chart
3-
plot_url: https://codepen.io/plotly/embed/BaaWzjd/?height=500&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: texttemplate
65
order: 1
@@ -17,4 +16,4 @@
1716
textposition: "inside"
1817
}];
1918

20-
Plotly.newPlot(graphDiv, data)
19+
Plotly.newPlot("myDiv", data)

_posts/plotly_js/transforms/texttemplate/2019-10-21-customize_text_template.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Customize Text Template
3-
plot_url: https://codepen.io/plotly/embed/yLLggdL/?height=500&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: texttemplate
65
order: 2
@@ -21,4 +20,4 @@
2120
textfont:{'family': "Times", 'size': [18, 21, 20], 'color': ["IndianRed", "MediumPurple", "DarkOrange"]}
2221
}];
2322

24-
Plotly.newPlot(graphDiv, data)
23+
Plotly.newPlot("myDiv", data)

_posts/plotly_js/transforms/texttemplate/2019-10-21-date-in-text-template.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
name: Set Date in Text Template
3-
plot_url: https://codepen.io/plotly/embed/vYYxEbv/?height=500&theme-id=15263&default-tab=result
43
language: plotly_js
54
suite: texttemplate
65
order: 3
@@ -29,4 +28,4 @@
2928

3029
var layout = {yaxis: {type: 'date'}}
3130

32-
Plotly.newPlot(graphDiv, data, layout)
31+
Plotly.newPlot("myDiv", data, layout)

0 commit comments

Comments
 (0)