From 3658d5c051e908818f4fa87325c2fd352c4aba55 Mon Sep 17 00:00:00 2001 From: Khanti Rindani <36477517+khantiRindani@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:43:41 +0530 Subject: [PATCH] Fix section links in reference homepage --- .../2015-08-19-plotly_js-reference.html | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/_posts/reference_pages/2015-08-19-plotly_js-reference.html b/_posts/reference_pages/2015-08-19-plotly_js-reference.html index 820661fc9..042ffabad 100644 --- a/_posts/reference_pages/2015-08-19-plotly_js-reference.html +++ b/_posts/reference_pages/2015-08-19-plotly_js-reference.html @@ -22,33 +22,33 @@
data = [
{
- type: 'scatter', // all "scatter" attributes: https://plotly.com/javascript/reference/#scatter
- x: [1, 2, 3], // more about "x": #scatter-x
- y: [3, 1, 6], // #scatter-y
- marker: { // marker is an object, valid marker keys: #scatter-marker
- color: 'rgb(16, 32, 77)' // more about "marker.color": #scatter-marker-color
+ type: 'scatter', // all "scatter" attributes: #scatter
+ x: [1, 2, 3], // more about "x": #scatter-x
+ y: [3, 1, 6], // #scatter-y
+ marker: { // marker is an object, valid marker keys: #scatter-marker
+ color: 'rgb(16, 32, 77)' // more about "marker.color": #scatter-marker-color
}
},
{
- type: 'bar', // all "bar" chart attributes: #bar
- x: [1, 2, 3], // more about "x": #bar-x
- y: [3, 1, 6], // #bar-y
- name: 'bar chart example' // #bar-name
+ type: 'bar', // all "bar" chart attributes: #bar
+ x: [1, 2, 3], // more about "x": #bar-x
+ y: [3, 1, 6], // #bar-y
+ name: 'bar chart example' // #bar-name
}
];
- layout = { // all "layout" attributes: #layout
- title: 'simple example', // more about "layout.title": #layout-title
- xaxis: { // all "layout.xaxis" attributes: #layout-xaxis
- title: 'time' // more about "layout.xaxis.title": #layout-xaxis-title
+ layout = { // all "layout" attributes: #layout
+ title: 'simple example', // more about "layout.title": #layout-title
+ xaxis: { // all "layout.xaxis" attributes: #layout-xaxis
+ title: 'time' // more about "layout.xaxis.title": #layout-xaxis-title
},
- annotations: [ // all "annotation" attributes: #layout-annotations
+ annotations: [ // all "annotation" attributes: #layout-annotations
{
- text: 'simple annotation', // #layout-annotations-text
- x: 0, // #layout-annotations-x
- xref: 'paper', // #layout-annotations-xref
- y: 0, // #layout-annotations-y
- yref: 'paper' // #layout-annotations-yref
+ text: 'simple annotation', // #layout-annotations-text
+ x: 0, // #layout-annotations-x
+ xref: 'paper', // #layout-annotations-xref
+ y: 0, // #layout-annotations-y
+ yref: 'paper' // #layout-annotations-yref
}
]
}