mol_plot_all 1.2.1075 → 1.2.1077
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.d.ts +91 -91
- package/node.js +4 -2
- package/node.js.map +1 -1
- package/node.mjs +4 -2
- package/node.test.js +4 -2
- package/node.test.js.map +1 -1
- package/node.view.tree +1 -1
- package/package.json +1 -1
- package/web.d.ts +91 -91
- package/web.js +4 -2
- package/web.js.map +1 -1
- package/web.mjs +4 -2
- package/web.view.tree +1 -1
package/web.mjs
CHANGED
|
@@ -3627,7 +3627,8 @@ var $;
|
|
|
3627
3627
|
(obj.title) = () => ((this?.hint()));
|
|
3628
3628
|
return obj;
|
|
3629
3629
|
}
|
|
3630
|
-
hue(){
|
|
3630
|
+
hue(next){
|
|
3631
|
+
if(next !== undefined) return next;
|
|
3631
3632
|
return +NaN;
|
|
3632
3633
|
}
|
|
3633
3634
|
Sample(){
|
|
@@ -3649,6 +3650,7 @@ var $;
|
|
|
3649
3650
|
($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
|
|
3650
3651
|
($mol_mem(($.$mol_plot_graph.prototype), "gap"));
|
|
3651
3652
|
($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
|
|
3653
|
+
($mol_mem(($.$mol_plot_graph.prototype), "hue"));
|
|
3652
3654
|
($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
|
|
3653
3655
|
type(){
|
|
3654
3656
|
return "solid";
|
|
@@ -3776,7 +3778,7 @@ var $;
|
|
|
3776
3778
|
graphs_colored() {
|
|
3777
3779
|
const graphs = this.graphs_visible();
|
|
3778
3780
|
for (let index = 0; index < graphs.length; index++) {
|
|
3779
|
-
graphs[index].hue
|
|
3781
|
+
graphs[index].hue(this.graph_hue(index));
|
|
3780
3782
|
}
|
|
3781
3783
|
return graphs;
|
|
3782
3784
|
}
|