Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multicategory Multilevel 2+ & Sorting Multicategory #6327

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
be5d16b
sorting single trace OK
richardnm-2 Sep 21, 2022
202e6de
n levels setconvert 1 trace OK
richardnm-2 Sep 21, 2022
3de9038
stacking 3 labels on x OK
richardnm-2 Sep 21, 2022
06b03ba
3 levels plotting, labels zoado
richardnm-2 Sep 22, 2022
0ff71a8
dynamic lavels vertical X OK
richardnm-2 Sep 22, 2022
c184cdc
vertical alignment x axis seems OK
richardnm-2 Sep 23, 2022
176f623
teste secondaryLabels
richardnm-2 Sep 23, 2022
66ff0ff
labels when not shared OK
richardnm-2 Sep 23, 2022
18064b7
labels repeating OK
richardnm-2 Sep 23, 2022
46ba0f1
labels object.keys
richardnm-2 Sep 23, 2022
1dc7c17
TODO DIVIDERS
richardnm-2 Sep 23, 2022
3cb80de
labels loop and reverse corrected
richardnm-2 Sep 23, 2022
95f8674
dividers with levels OK, print NOT OK
richardnm-2 Sep 24, 2022
62d629d
plot checkpoint
richardnm-2 Sep 24, 2022
b2761eb
divider depth OK, but not plotting 2nd line
richardnm-2 Sep 24, 2022
0aff254
dividers remove -> plot OK
richardnm-2 Sep 24, 2022
774d6e5
checkpoint plot axes OK
richardnm-2 Sep 24, 2022
78e7e9b
sorting inside ax.setupMultiCategory OK
richardnm-2 Sep 24, 2022
6a5b8b0
console log cleanup
richardnm-2 Sep 24, 2022
450b7aa
multiple tracces test 1
richardnm-2 Sep 24, 2022
39809ba
multiple traces OK
richardnm-2 Sep 24, 2022
b81dce1
teste boxplot
richardnm-2 Sep 24, 2022
3b7ec42
validação list NOT OK
richardnm-2 Sep 24, 2022
3d79506
slice cols before reversing - inplace reverse
richardnm-2 Sep 24, 2022
a4eca4f
vai
richardnm-2 Sep 24, 2022
3615690
teste 3levels OK
richardnm-2 Sep 24, 2022
a68819b
getLabelBox dynamic
richardnm-2 Sep 25, 2022
fbbcc9c
index 3 levels 2 pts test
richardnm-2 Sep 25, 2022
3ec2f0b
Merge branch 'master' of https://github.com/richardnm-2/plotly.js
richardnm-2 Sep 25, 2022
630d00a
.vscode debugger OK
richardnm-2 Sep 25, 2022
36efc91
square matrix before transpose
richardnm-2 Sep 25, 2022
d57f5f0
codepen cleanup
richardnm-2 Sep 25, 2022
64561e7
hover text OK
richardnm-2 Sep 25, 2022
76ef318
pre minify cleanup
richardnm-2 Sep 25, 2022
e03e17e
hover text fix
richardnm-2 Sep 26, 2022
bc3358f
solved dividers remove
richardnm-2 Sep 27, 2022
dc94e50
pr OK
richardnm-2 Sep 27, 2022
7550011
hover text trim
richardnm-2 Sep 27, 2022
1b5748f
hovertext fix
richardnm-2 Sep 27, 2022
817a4a5
replicating on index
richardnm-2 Sep 27, 2022
7c8506c
heatmap test OK - yaxis questionable
richardnm-2 Sep 28, 2022
3925975
hover labe test OK - todo candlestick y axis multicategory
richardnm-2 Sep 28, 2022
c6e1690
Merge branch 'PR' of https://github.com/richardnm-2/plotly.js into PR
richardnm-2 Sep 28, 2022
fafd82b
debugger cleanup
richardnm-2 Sep 28, 2022
75e927f
lint
richardnm-2 Sep 28, 2022
34f23e6
Merge branch 'PR' of https://github.com/richardnm-2/plotly.js into PR
richardnm-2 Sep 28, 2022
49047b4
.at not supported
richardnm-2 Sep 28, 2022
25016f2
no valLetter (no y) -> nullArray
richardnm-2 Sep 28, 2022
60360ea
remove null from axis array trace OK
richardnm-2 Sep 29, 2022
059343f
sorting typed arrays OK
richardnm-2 Sep 29, 2022
46332a9
lint
richardnm-2 Sep 29, 2022
05ebb13
hover texts categories undefined resolved
richardnm-2 Sep 29, 2022
595de82
tick level rename
richardnm-2 Oct 2, 2022
68a2305
assert axLettter in trace
richardnm-2 Oct 2, 2022
2d33da3
axLetter y & valLetter x
richardnm-2 Oct 2, 2022
0135ec7
lock
richardnm-2 Oct 2, 2022
76ebc0c
Add .circleci/config.yml
richardnm-2 Apr 13, 2023
60ae004
Merge remote-tracking branch 'upstream/master' into circleci-project-…
Dec 28, 2023
b21f685
.
Dec 28, 2023
656bfb8
multicategory testing log
Dec 28, 2023
0475265
Merge branch 'circleci-project-setup' into PR
Dec 28, 2023
e67b25e
.
Dec 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions devtools/test_dashboard/index - boxplot.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<!DOCTYPE html>
<html>
<head>
<title>Plotly.js Devtools</title>
<link
rel="stylesheet"
type="text/css"
href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"
/>
<link rel="stylesheet" type="text/css" href="./style.css" />
</head>
<body>
<header>
<img
src="http://images.plot.ly/logo/[email protected]"
onClick="Tabs.reload();"
/>
<span id="reload-time"></span>

<input id="mocks-search" type="text" placeholder="mocks search" />
<input id="css-transform" type="text" placeholder="css transform" />
</header>

<section id="mocks-list"></section>
<div id="plots">
<div id="graph">
<div id="tester" style="width: 600px; height: 250px"></div>
</div>
</div>
<div id="snapshot"></div>

<script src="../../node_modules/mathjax-v2/MathJax.js?config=TeX-AMS-MML_SVG"></script>
<script charset="utf-8" id="source" src="../../build/plotly.js">
// type="module"
// import Plotly from "../../build/plotly.js"
</script>
<script charset="utf-8" src="../../build/test_dashboard-bundle.js"></script>
<script>
let x1 = [
1234, 1234, 1234, 2222, 3333, 4444, 4444, 2222, 3333, 4444, 4444, 1234,
2222, 3333, 3333, 4444, 4444, 1234, 1234, 1234, 2222, 2222, 4444, 4444,
4444,
];

let x2 = [
1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.2, 1.25, 1.25, 1.25, 1.1, 1.1, 1.1,
1.1, 1.1, 1.1, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.25,
];

let x3 = [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2,
];

let y = [
74.794746, 73.263952, 73.175294, 89.929494, 87.071843, 78.117551,
76.690038, 85.818503, 97.373488, 76.747523, 73.172017, 68.891727,
79.342691, 84.390967, 82.548122, 70.278573, 72.255796, 74.747855,
73.312634, 70.067858, 81.736596, 84.71945, 80.099938, 82.208555,
74.795867,
];

var trace1 = {
x: [x1, x2, x3],

y: y,
type: "box",
};

// var trace2 = {
// x: [x1, x2],

// y: y,
// type: "box",
// };

var data = [trace1];

Plotly.newPlot("tester", data);
</script>
</body>
</html>
171 changes: 171 additions & 0 deletions devtools/test_dashboard/index copy 2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
<!DOCTYPE html>
<html>
<head>
<title>Plotly.js Devtools</title>
<link
rel="stylesheet"
type="text/css"
href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"
/>
<link rel="stylesheet" type="text/css" href="./style.css" />
</head>
<body>
<header>
<img
src="http://images.plot.ly/logo/[email protected]"
onClick="Tabs.reload();"
/>
<span id="reload-time"></span>

<input id="mocks-search" type="text" placeholder="mocks search" />
<input id="css-transform" type="text" placeholder="css transform" />
</header>

<section id="mocks-list"></section>
<div id="plots">
<div id="graph">
<div id="tester" style="width: 600px; height: 250px"></div>
</div>
</div>
<div id="snapshot"></div>

<script src="../../node_modules/mathjax-v2/MathJax.js?config=TeX-AMS-MML_SVG"></script>
<script charset="utf-8" id="source" src="../../build/plotly.js">
// type="module"
// import Plotly from "../../build/plotly.js"
</script>
<script charset="utf-8" src="../../build/test_dashboard-bundle.js"></script>
<script>
// let fullData = [
// {
// x: [
// ["AA", "AA", "AA", "BB"],
// // "DD", "DD", "DD", "DD", "BB", "BB"],
// ["DD", "CC", "DD", "DD"],
// ["2", "1", "3", "4"],
// // "VV", "MM", "AA"],
// ],
// y: [10, 8, 11, 12],
// line: {
// color: "orange",
// width: 3,
// },
// // 14, 17, 8, 10, 10, 9],
// // type: "bar",
// },
// {
// x: [
// ["AA", "AA", "AA", "BB"],
// // "DD", "DD", "DD", "DD", "BB", "BB"],
// ["DD", "CC", "DD", "DD"],
// ["2", "1", "3", "4"],
// // "VV", "MM", "AA"],
// ],
// y: [12, 10, 13, 14],
// line: {
// color: "blue",
// width: 3,
// },
// // 14, 17, 8, 10, 10, 9],
// // type: "bar",
// },
// ];
// var trace1 = {
// x: [
// ["AA", "AA", "AA", "BB"],
// ["DD", "CC", "DD", "DD"],
// ["2", "1", "3", "4"],
// ],

// // y: y0,
// // y: [12, 10, 13, 14],
// y: [y0, y1, y2, y3],
// type: "box",
// };
// TESTER = document.getElementById("tester");
// // Plotly.newPlot(TESTER, fullData, {
// // margin: { t: 0 },
// // });
</script>
<script>
var y0 = [];
var y1 = [];
var y2 = [];
var y3 = [];

for (var i = 0; i < 50; i++) {
y0[i] = Math.random();
y1[i] = Math.random() * 10;
y2[i] = Math.random() * 20;
y3[i] = Math.random() * 30;
}

var ys = [y0, y1, y2, y3];

var spreadYs = [...y0, ...y1, ...y2, ...y3];

var trace1 = {
x: [
["AA", "AA", "AA", "BB"],
["DD", "CC", "DD", "DD"],
["2", "1", "3", "4"],
],

// y: y0,
y: spreadYs,
// y: [12, 10, 13, 14],
// y: [y0, y1, y2, y3],
type: "box",
};
var data = [trace1];

// Plotly.newPlot("tester", data);
</script>
<script>
let x1 = [
1111, 1111, 1111, 1111, 2222, 2222, 3333, 3333, 3333, 4444, 4444, 4444,
4444, 1111, 1111, 1111, 2222, 2222, 2222, 4444, 4444, 3333, 4444, 4444,
4444,
];

let x2 = [
1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.2, 1.25, 1.25, 1.25, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.25,
];

let x3 = [
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2,
];

let y = [
68.89172741012955, 74.7947463431226, 73.26395158502746,
73.17529436801782, 89.92949351516832, 79.34269143320005,
84.39096735673589, 87.07184294113185, 82.5481218835995,
70.27857346850803, 78.11755050565934, 76.69003807419446,
72.25579607260464, 74.74785526725371, 73.31263433475021,
70.06785817806055, 81.73659630835789, 84.71945002499666,
85.81850329438534, 80.09993832704379, 82.20855460624422,
97.37348751144206, 76.7475232225902, 74.79586728812728,
73.17201742069297,
];

var trace1 = {
x: [x1, x2, x3],

y: y,
type: "box",
};

// var trace2 = {
// x: [x1, x2],

// y: y,
// type: "box",
// };

var data = [trace1];

Plotly.newPlot("tester", data, { margin: { t: 0, l: 50, r: 0 } });
</script>
</body>
</html>
Loading