@pie-element/graphing 4.2.1 → 4.3.0
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/CHANGELOG.md +12 -0
- package/configure/CHANGELOG.md +12 -0
- package/configure/lib/configure.js +11 -0
- package/configure/lib/configure.js.map +1 -1
- package/configure/lib/defaults.js +198 -2
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/graphing-config.js +110 -36
- package/configure/lib/graphing-config.js.map +1 -1
- package/configure/package.json +4 -4
- package/docs/config-schema.json +633 -5
- package/docs/config-schema.json.md +413 -3
- package/docs/pie-schema.json +385 -131
- package/docs/pie-schema.json.md +251 -82
- package/package.json +5 -5
|
@@ -176,6 +176,142 @@ Indicates the maximum value for the graph width and height
|
|
|
176
176
|
|
|
177
177
|
Indicates the increase/decrease value for the graph width and height
|
|
178
178
|
|
|
179
|
+
# `gridConfigurations` (array, required)
|
|
180
|
+
|
|
181
|
+
Grid default configurations
|
|
182
|
+
|
|
183
|
+
The object is an array with all elements of the type `object`.
|
|
184
|
+
|
|
185
|
+
The array object has the following properties:
|
|
186
|
+
|
|
187
|
+
## `label` (string)
|
|
188
|
+
|
|
189
|
+
Indicates the label for the configuration
|
|
190
|
+
|
|
191
|
+
## `arrows` (object)
|
|
192
|
+
|
|
193
|
+
Properties of the `arrows` object:
|
|
194
|
+
|
|
195
|
+
### `left` (boolean, required)
|
|
196
|
+
|
|
197
|
+
Indicates if left arrow is enabled
|
|
198
|
+
|
|
199
|
+
### `right` (boolean, required)
|
|
200
|
+
|
|
201
|
+
Indicates if right arrow is enabled
|
|
202
|
+
|
|
203
|
+
### `up` (boolean, required)
|
|
204
|
+
|
|
205
|
+
Indicates if up arrow is enabled
|
|
206
|
+
|
|
207
|
+
### `down` (boolean, required)
|
|
208
|
+
|
|
209
|
+
Indicates if down arrow is enabled
|
|
210
|
+
|
|
211
|
+
## `domain` (object, required)
|
|
212
|
+
|
|
213
|
+
Properties of the `domain` object:
|
|
214
|
+
|
|
215
|
+
### `min` (number, required)
|
|
216
|
+
|
|
217
|
+
Min value
|
|
218
|
+
|
|
219
|
+
### `max` (number, required)
|
|
220
|
+
|
|
221
|
+
Max value
|
|
222
|
+
|
|
223
|
+
### `padding` (number, required)
|
|
224
|
+
|
|
225
|
+
Padding value
|
|
226
|
+
|
|
227
|
+
### `step` (number, required)
|
|
228
|
+
|
|
229
|
+
Step value
|
|
230
|
+
|
|
231
|
+
### `labelStep` (number, required)
|
|
232
|
+
|
|
233
|
+
Label step value
|
|
234
|
+
|
|
235
|
+
### `axisLabel` (string, required)
|
|
236
|
+
|
|
237
|
+
Axis Label
|
|
238
|
+
|
|
239
|
+
## `graph` (object, required)
|
|
240
|
+
|
|
241
|
+
Properties of the `graph` object:
|
|
242
|
+
|
|
243
|
+
### `width` (number, required)
|
|
244
|
+
|
|
245
|
+
Width for graph representation
|
|
246
|
+
|
|
247
|
+
### `height` (number, required)
|
|
248
|
+
|
|
249
|
+
Height for graph representation
|
|
250
|
+
|
|
251
|
+
## `includeAxes` (boolean)
|
|
252
|
+
|
|
253
|
+
Indicates if the graph axes and labels are enabled
|
|
254
|
+
|
|
255
|
+
## `labels` (object)
|
|
256
|
+
|
|
257
|
+
Properties of the `labels` object:
|
|
258
|
+
|
|
259
|
+
### `top` (string, required)
|
|
260
|
+
|
|
261
|
+
Label for top side of the graph
|
|
262
|
+
|
|
263
|
+
### `bottom` (string, required)
|
|
264
|
+
|
|
265
|
+
Label for bottom side of the graph
|
|
266
|
+
|
|
267
|
+
### `left` (string, required)
|
|
268
|
+
|
|
269
|
+
Label for left side of the graph
|
|
270
|
+
|
|
271
|
+
### `right` (string, required)
|
|
272
|
+
|
|
273
|
+
Label for right side of the graph
|
|
274
|
+
|
|
275
|
+
## `padding` (boolean)
|
|
276
|
+
|
|
277
|
+
Indicates if padding is enabled
|
|
278
|
+
|
|
279
|
+
## `range` (object, required)
|
|
280
|
+
|
|
281
|
+
Properties of the `range` object:
|
|
282
|
+
|
|
283
|
+
### `min` (number, required)
|
|
284
|
+
|
|
285
|
+
Min value
|
|
286
|
+
|
|
287
|
+
### `max` (number, required)
|
|
288
|
+
|
|
289
|
+
Max value
|
|
290
|
+
|
|
291
|
+
### `padding` (number, required)
|
|
292
|
+
|
|
293
|
+
Padding value
|
|
294
|
+
|
|
295
|
+
### `step` (number, required)
|
|
296
|
+
|
|
297
|
+
Step value
|
|
298
|
+
|
|
299
|
+
### `labelStep` (number, required)
|
|
300
|
+
|
|
301
|
+
Label step value
|
|
302
|
+
|
|
303
|
+
### `axisLabel` (string, required)
|
|
304
|
+
|
|
305
|
+
Axis Label
|
|
306
|
+
|
|
307
|
+
## `standardGrid` (boolean)
|
|
308
|
+
|
|
309
|
+
Indicates if some domain values will be synched to the range values
|
|
310
|
+
|
|
311
|
+
## `title` (string)
|
|
312
|
+
|
|
313
|
+
Indicates graph title
|
|
314
|
+
|
|
179
315
|
# `padding` (object)
|
|
180
316
|
|
|
181
317
|
Properties of the `padding` object:
|
|
@@ -192,6 +328,22 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
192
328
|
|
|
193
329
|
Properties of the `labels` object:
|
|
194
330
|
|
|
331
|
+
## `top` (string)
|
|
332
|
+
|
|
333
|
+
Indicates the placeholder for the top label
|
|
334
|
+
|
|
335
|
+
## `right` (string)
|
|
336
|
+
|
|
337
|
+
Indicates the placeholder for the right label
|
|
338
|
+
|
|
339
|
+
## `bottom` (string)
|
|
340
|
+
|
|
341
|
+
Indicates the placeholder for the bottom label
|
|
342
|
+
|
|
343
|
+
## `left` (string)
|
|
344
|
+
|
|
345
|
+
Indicates the placeholder for the left label
|
|
346
|
+
|
|
195
347
|
## `settings` (boolean)
|
|
196
348
|
|
|
197
349
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -200,6 +352,11 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
200
352
|
|
|
201
353
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
202
354
|
|
|
355
|
+
## `enabled` (boolean)
|
|
356
|
+
|
|
357
|
+
Indicates the value of the item if it affects config-ui
|
|
358
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
359
|
+
|
|
203
360
|
# `prompt` (object)
|
|
204
361
|
|
|
205
362
|
Properties of the `prompt` object:
|
|
@@ -276,6 +433,10 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
276
433
|
|
|
277
434
|
Properties of the `title` object:
|
|
278
435
|
|
|
436
|
+
## `placeholder` (string)
|
|
437
|
+
|
|
438
|
+
Indicates the placeholder for the title label
|
|
439
|
+
|
|
279
440
|
## `settings` (boolean)
|
|
280
441
|
|
|
281
442
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -533,9 +694,258 @@ Indicates the maximum value for the graph width and height
|
|
|
533
694
|
|
|
534
695
|
Indicates the increase/decrease value for the graph width and height
|
|
535
696
|
|
|
536
|
-
## `
|
|
697
|
+
## `GridConfigurationsProp` (object)
|
|
698
|
+
|
|
699
|
+
Properties of the `GridConfigurationsProp` object:
|
|
700
|
+
|
|
701
|
+
### `label` (string)
|
|
702
|
+
|
|
703
|
+
Indicates the label for the configuration
|
|
704
|
+
|
|
705
|
+
### `arrows` (object)
|
|
706
|
+
|
|
707
|
+
Properties of the `arrows` object:
|
|
708
|
+
|
|
709
|
+
#### `left` (boolean, required)
|
|
710
|
+
|
|
711
|
+
Indicates if left arrow is enabled
|
|
712
|
+
|
|
713
|
+
#### `right` (boolean, required)
|
|
714
|
+
|
|
715
|
+
Indicates if right arrow is enabled
|
|
716
|
+
|
|
717
|
+
#### `up` (boolean, required)
|
|
718
|
+
|
|
719
|
+
Indicates if up arrow is enabled
|
|
720
|
+
|
|
721
|
+
#### `down` (boolean, required)
|
|
722
|
+
|
|
723
|
+
Indicates if down arrow is enabled
|
|
724
|
+
|
|
725
|
+
### `domain` (object, required)
|
|
726
|
+
|
|
727
|
+
Properties of the `domain` object:
|
|
728
|
+
|
|
729
|
+
#### `min` (number, required)
|
|
730
|
+
|
|
731
|
+
Min value
|
|
732
|
+
|
|
733
|
+
#### `max` (number, required)
|
|
734
|
+
|
|
735
|
+
Max value
|
|
736
|
+
|
|
737
|
+
#### `padding` (number, required)
|
|
738
|
+
|
|
739
|
+
Padding value
|
|
740
|
+
|
|
741
|
+
#### `step` (number, required)
|
|
742
|
+
|
|
743
|
+
Step value
|
|
537
744
|
|
|
538
|
-
|
|
745
|
+
#### `labelStep` (number, required)
|
|
746
|
+
|
|
747
|
+
Label step value
|
|
748
|
+
|
|
749
|
+
#### `axisLabel` (string, required)
|
|
750
|
+
|
|
751
|
+
Axis Label
|
|
752
|
+
|
|
753
|
+
### `graph` (object, required)
|
|
754
|
+
|
|
755
|
+
Properties of the `graph` object:
|
|
756
|
+
|
|
757
|
+
#### `width` (number, required)
|
|
758
|
+
|
|
759
|
+
Width for graph representation
|
|
760
|
+
|
|
761
|
+
#### `height` (number, required)
|
|
762
|
+
|
|
763
|
+
Height for graph representation
|
|
764
|
+
|
|
765
|
+
### `includeAxes` (boolean)
|
|
766
|
+
|
|
767
|
+
Indicates if the graph axes and labels are enabled
|
|
768
|
+
|
|
769
|
+
### `labels` (object)
|
|
770
|
+
|
|
771
|
+
Properties of the `labels` object:
|
|
772
|
+
|
|
773
|
+
#### `top` (string, required)
|
|
774
|
+
|
|
775
|
+
Label for top side of the graph
|
|
776
|
+
|
|
777
|
+
#### `bottom` (string, required)
|
|
778
|
+
|
|
779
|
+
Label for bottom side of the graph
|
|
780
|
+
|
|
781
|
+
#### `left` (string, required)
|
|
782
|
+
|
|
783
|
+
Label for left side of the graph
|
|
784
|
+
|
|
785
|
+
#### `right` (string, required)
|
|
786
|
+
|
|
787
|
+
Label for right side of the graph
|
|
788
|
+
|
|
789
|
+
### `padding` (boolean)
|
|
790
|
+
|
|
791
|
+
Indicates if padding is enabled
|
|
792
|
+
|
|
793
|
+
### `range` (object, required)
|
|
794
|
+
|
|
795
|
+
Properties of the `range` object:
|
|
796
|
+
|
|
797
|
+
#### `min` (number, required)
|
|
798
|
+
|
|
799
|
+
Min value
|
|
800
|
+
|
|
801
|
+
#### `max` (number, required)
|
|
802
|
+
|
|
803
|
+
Max value
|
|
804
|
+
|
|
805
|
+
#### `padding` (number, required)
|
|
806
|
+
|
|
807
|
+
Padding value
|
|
808
|
+
|
|
809
|
+
#### `step` (number, required)
|
|
810
|
+
|
|
811
|
+
Step value
|
|
812
|
+
|
|
813
|
+
#### `labelStep` (number, required)
|
|
814
|
+
|
|
815
|
+
Label step value
|
|
816
|
+
|
|
817
|
+
#### `axisLabel` (string, required)
|
|
818
|
+
|
|
819
|
+
Axis Label
|
|
820
|
+
|
|
821
|
+
### `standardGrid` (boolean)
|
|
822
|
+
|
|
823
|
+
Indicates if some domain values will be synched to the range values
|
|
824
|
+
|
|
825
|
+
### `title` (string)
|
|
826
|
+
|
|
827
|
+
Indicates graph title
|
|
828
|
+
|
|
829
|
+
## `Arrows` (object)
|
|
830
|
+
|
|
831
|
+
Properties of the `Arrows` object:
|
|
832
|
+
|
|
833
|
+
### `left` (boolean, required)
|
|
834
|
+
|
|
835
|
+
Indicates if left arrow is enabled
|
|
836
|
+
|
|
837
|
+
### `right` (boolean, required)
|
|
838
|
+
|
|
839
|
+
Indicates if right arrow is enabled
|
|
840
|
+
|
|
841
|
+
### `up` (boolean, required)
|
|
842
|
+
|
|
843
|
+
Indicates if up arrow is enabled
|
|
844
|
+
|
|
845
|
+
### `down` (boolean, required)
|
|
846
|
+
|
|
847
|
+
Indicates if down arrow is enabled
|
|
848
|
+
|
|
849
|
+
## `GraphSettings` (object)
|
|
850
|
+
|
|
851
|
+
Properties of the `GraphSettings` object:
|
|
852
|
+
|
|
853
|
+
### `min` (number, required)
|
|
854
|
+
|
|
855
|
+
Min value
|
|
856
|
+
|
|
857
|
+
### `max` (number, required)
|
|
858
|
+
|
|
859
|
+
Max value
|
|
860
|
+
|
|
861
|
+
### `padding` (number, required)
|
|
862
|
+
|
|
863
|
+
Padding value
|
|
864
|
+
|
|
865
|
+
### `step` (number, required)
|
|
866
|
+
|
|
867
|
+
Step value
|
|
868
|
+
|
|
869
|
+
### `labelStep` (number, required)
|
|
870
|
+
|
|
871
|
+
Label step value
|
|
872
|
+
|
|
873
|
+
### `axisLabel` (string, required)
|
|
874
|
+
|
|
875
|
+
Axis Label
|
|
876
|
+
|
|
877
|
+
## `Graph` (object)
|
|
878
|
+
|
|
879
|
+
Properties of the `Graph` object:
|
|
880
|
+
|
|
881
|
+
### `width` (number, required)
|
|
882
|
+
|
|
883
|
+
Width for graph representation
|
|
884
|
+
|
|
885
|
+
### `height` (number, required)
|
|
886
|
+
|
|
887
|
+
Height for graph representation
|
|
888
|
+
|
|
889
|
+
## `Labels` (object)
|
|
890
|
+
|
|
891
|
+
Properties of the `Labels` object:
|
|
892
|
+
|
|
893
|
+
### `top` (string, required)
|
|
894
|
+
|
|
895
|
+
Label for top side of the graph
|
|
896
|
+
|
|
897
|
+
### `bottom` (string, required)
|
|
898
|
+
|
|
899
|
+
Label for bottom side of the graph
|
|
900
|
+
|
|
901
|
+
### `left` (string, required)
|
|
902
|
+
|
|
903
|
+
Label for left side of the graph
|
|
904
|
+
|
|
905
|
+
### `right` (string, required)
|
|
906
|
+
|
|
907
|
+
Label for right side of the graph
|
|
908
|
+
|
|
909
|
+
## `LabelsConfigProp` (object)
|
|
910
|
+
|
|
911
|
+
Properties of the `LabelsConfigProp` object:
|
|
912
|
+
|
|
913
|
+
### `top` (string)
|
|
914
|
+
|
|
915
|
+
Indicates the placeholder for the top label
|
|
916
|
+
|
|
917
|
+
### `right` (string)
|
|
918
|
+
|
|
919
|
+
Indicates the placeholder for the right label
|
|
920
|
+
|
|
921
|
+
### `bottom` (string)
|
|
922
|
+
|
|
923
|
+
Indicates the placeholder for the bottom label
|
|
924
|
+
|
|
925
|
+
### `left` (string)
|
|
926
|
+
|
|
927
|
+
Indicates the placeholder for the left label
|
|
928
|
+
|
|
929
|
+
### `settings` (boolean)
|
|
930
|
+
|
|
931
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
932
|
+
|
|
933
|
+
### `label` (string)
|
|
934
|
+
|
|
935
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
936
|
+
|
|
937
|
+
### `enabled` (boolean)
|
|
938
|
+
|
|
939
|
+
Indicates the value of the item if it affects config-ui
|
|
940
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
941
|
+
|
|
942
|
+
## `TitleConfigProp` (object)
|
|
943
|
+
|
|
944
|
+
Properties of the `TitleConfigProp` object:
|
|
945
|
+
|
|
946
|
+
### `placeholder` (string)
|
|
947
|
+
|
|
948
|
+
Indicates the placeholder for the title label
|
|
539
949
|
|
|
540
950
|
### `settings` (boolean)
|
|
541
951
|
|
|
@@ -564,4 +974,4 @@ Indicates the max dimension for images in prompt - this is also the default dime
|
|
|
564
974
|
|
|
565
975
|
### `rationale` (number)
|
|
566
976
|
|
|
567
|
-
Indicates the max dimension for images in rationale
|
|
977
|
+
Indicates the max dimension for images in rationale
|