@apexcura/core 0.0.16-Beta217 → 0.0.16-Beta218

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/dist/index.js CHANGED
@@ -355,7 +355,133 @@ var ElementExecutor = (props) => {
355
355
  case "linechart3":
356
356
  return /* @__PURE__ */ import_react.default.createElement("h1", null, "linechart-3");
357
357
  case "highchart":
358
- return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: elementProps.data_options });
358
+ let data_options = {
359
+ chart: {
360
+ height: "45%"
361
+ },
362
+ title: {
363
+ text: "U.S Solar Employment Growth",
364
+ align: "left"
365
+ },
366
+ subtitle: {
367
+ text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
368
+ align: "left"
369
+ },
370
+ yAxis: {
371
+ title: {
372
+ text: "Number of Employees"
373
+ }
374
+ },
375
+ xAxis: {
376
+ accessibility: {
377
+ rangeDescription: "Range: 2010 to 2020"
378
+ }
379
+ },
380
+ legend: {
381
+ layout: "vertical",
382
+ align: "right",
383
+ verticalAlign: "middle"
384
+ },
385
+ plotOptions: {
386
+ series: {
387
+ label: {
388
+ connectorAllowed: false
389
+ },
390
+ pointStart: 2010
391
+ }
392
+ },
393
+ series: [{
394
+ name: "Installation & Developers",
395
+ data: [
396
+ 43934,
397
+ 48656,
398
+ 65165,
399
+ 81827,
400
+ 112143,
401
+ 142383,
402
+ 171533,
403
+ 165174,
404
+ 155157,
405
+ 161454,
406
+ 154610
407
+ ]
408
+ }, {
409
+ name: "Manufacturing",
410
+ data: [
411
+ 24916,
412
+ 37941,
413
+ 29742,
414
+ 29851,
415
+ 32490,
416
+ 30282,
417
+ 38121,
418
+ 36885,
419
+ 33726,
420
+ 34243,
421
+ 31050
422
+ ]
423
+ }, {
424
+ name: "Sales & Distribution",
425
+ data: [
426
+ 11744,
427
+ 3e4,
428
+ 16005,
429
+ 19771,
430
+ 20185,
431
+ 24377,
432
+ 32147,
433
+ 30912,
434
+ 29243,
435
+ 29213,
436
+ 25663
437
+ ]
438
+ }, {
439
+ name: "Operations & Maintenance",
440
+ data: [
441
+ null,
442
+ null,
443
+ null,
444
+ null,
445
+ null,
446
+ null,
447
+ null,
448
+ null,
449
+ 11164,
450
+ 11218,
451
+ 10077
452
+ ]
453
+ }, {
454
+ name: "Other",
455
+ data: [
456
+ 21908,
457
+ 5548,
458
+ 8105,
459
+ 11248,
460
+ 8989,
461
+ 11816,
462
+ 18274,
463
+ 17300,
464
+ 13053,
465
+ 11906,
466
+ 10073
467
+ ]
468
+ }],
469
+ responsive: {
470
+ rules: [{
471
+ condition: {
472
+ maxWidth: 500
473
+ },
474
+ chartOptions: {
475
+ legend: {
476
+ layout: "horizontal",
477
+ align: "center",
478
+ verticalAlign: "bottom"
479
+ }
480
+ }
481
+ }]
482
+ }
483
+ };
484
+ return /* @__PURE__ */ import_react.default.createElement(import_highcharts_react_official.default, { highcharts: import_highcharts.default, options: data_options });
359
485
  case "double-barchart":
360
486
  return /* @__PURE__ */ import_react.default.createElement(
361
487
  import_ui_components.DoubleBarChart,
package/dist/index.mjs CHANGED
@@ -350,7 +350,133 @@ var ElementExecutor = (props) => {
350
350
  case "linechart3":
351
351
  return /* @__PURE__ */ React.createElement("h1", null, "linechart-3");
352
352
  case "highchart":
353
- return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: elementProps.data_options });
353
+ let data_options = {
354
+ chart: {
355
+ height: "45%"
356
+ },
357
+ title: {
358
+ text: "U.S Solar Employment Growth",
359
+ align: "left"
360
+ },
361
+ subtitle: {
362
+ text: 'By Job Category. Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>.',
363
+ align: "left"
364
+ },
365
+ yAxis: {
366
+ title: {
367
+ text: "Number of Employees"
368
+ }
369
+ },
370
+ xAxis: {
371
+ accessibility: {
372
+ rangeDescription: "Range: 2010 to 2020"
373
+ }
374
+ },
375
+ legend: {
376
+ layout: "vertical",
377
+ align: "right",
378
+ verticalAlign: "middle"
379
+ },
380
+ plotOptions: {
381
+ series: {
382
+ label: {
383
+ connectorAllowed: false
384
+ },
385
+ pointStart: 2010
386
+ }
387
+ },
388
+ series: [{
389
+ name: "Installation & Developers",
390
+ data: [
391
+ 43934,
392
+ 48656,
393
+ 65165,
394
+ 81827,
395
+ 112143,
396
+ 142383,
397
+ 171533,
398
+ 165174,
399
+ 155157,
400
+ 161454,
401
+ 154610
402
+ ]
403
+ }, {
404
+ name: "Manufacturing",
405
+ data: [
406
+ 24916,
407
+ 37941,
408
+ 29742,
409
+ 29851,
410
+ 32490,
411
+ 30282,
412
+ 38121,
413
+ 36885,
414
+ 33726,
415
+ 34243,
416
+ 31050
417
+ ]
418
+ }, {
419
+ name: "Sales & Distribution",
420
+ data: [
421
+ 11744,
422
+ 3e4,
423
+ 16005,
424
+ 19771,
425
+ 20185,
426
+ 24377,
427
+ 32147,
428
+ 30912,
429
+ 29243,
430
+ 29213,
431
+ 25663
432
+ ]
433
+ }, {
434
+ name: "Operations & Maintenance",
435
+ data: [
436
+ null,
437
+ null,
438
+ null,
439
+ null,
440
+ null,
441
+ null,
442
+ null,
443
+ null,
444
+ 11164,
445
+ 11218,
446
+ 10077
447
+ ]
448
+ }, {
449
+ name: "Other",
450
+ data: [
451
+ 21908,
452
+ 5548,
453
+ 8105,
454
+ 11248,
455
+ 8989,
456
+ 11816,
457
+ 18274,
458
+ 17300,
459
+ 13053,
460
+ 11906,
461
+ 10073
462
+ ]
463
+ }],
464
+ responsive: {
465
+ rules: [{
466
+ condition: {
467
+ maxWidth: 500
468
+ },
469
+ chartOptions: {
470
+ legend: {
471
+ layout: "horizontal",
472
+ align: "center",
473
+ verticalAlign: "bottom"
474
+ }
475
+ }
476
+ }]
477
+ }
478
+ };
479
+ return /* @__PURE__ */ React.createElement(HighchartsReact, { highcharts: Highcharts, options: data_options });
354
480
  case "double-barchart":
355
481
  return /* @__PURE__ */ React.createElement(
356
482
  DoubleBarChart,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/core",
3
- "version": "0.0.16-Beta217",
3
+ "version": "0.0.16-Beta218",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",