thecore_ui_commons 3.2.7 → 3.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10d56b0b126b525292418a6190c2e2d87a8b491be23b3c5bc47779b7f2a70f21
4
- data.tar.gz: ae42dfaca60bfe76a0becc6ad99922968f1aa880df0d8a8fc521e0b116ae5dec
3
+ metadata.gz: aaf234fe9cbb69c8badd6c235d7c4f7b5ac385d83c2690ea834d3eeaa18c2218
4
+ data.tar.gz: 0ec33022227156b2aefa0f8a0c06639c4f54c5acaef154bb9830d4e07ed17205
5
5
  SHA512:
6
- metadata.gz: c53e3b75987231af617828f027b79b71cb57d69348d50ce2132e059e401397f099f4f8f45c08e8dd47c4786763dfab23f4836adfef2e7f552d18c4a03dbe0cdb
7
- data.tar.gz: b804872d532bc90078011722ba5ba3e20b2953aa229132dc926f243195b0cb0b5e8e9325af017d8dd0c62f49001216554fc4fec24067f3ce4fe5a7707da4b1d4
6
+ metadata.gz: 9d361c719112ba83c001550f2d875d4f7db297b351105de1b9afef3f96678d56cdc4bd989c9a8ed8c1d28361c15af2ad784847ba6e9bd23f9ccc975aeaeb3c5c
7
+ data.tar.gz: d707e2ec3bd761c6359df75035bb4a81547050f32132f00ebbb00977fe893e3a6f6ad902e2489d5349e31d8939b09b6bc254c883b392181570fb65278e138988
@@ -29,8 +29,13 @@ module Echarts
29
29
  trigger: "axis",
30
30
  },
31
31
  xAxis: {
32
- type: "category",
32
+ type: "value",
33
33
  name: xLabel,
34
+ boundaryGap: false,
35
+ # get first value of each stack present in the stacks array and use it as the x axis
36
+ # Stacks is in the form [[[x1, y1], [x2, y2], [x3, y3], ...], [[x1, y1], [x2, y2], [x3, y3], ...], ...]
37
+ # data must be [x1, x2, x3, ...]
38
+ data: stacks.map { |stack| stack.map(&:first) }.flatten.uniq.sort,
34
39
  },
35
40
  yAxis: {
36
41
  type: "value",
@@ -1,3 +1,3 @@
1
1
  module ThecoreUiCommons
2
- VERSION = "3.2.7".freeze
2
+ VERSION = "3.2.8".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.7
4
+ version: 3.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-11 00:00:00.000000000 Z
11
+ date: 2024-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_backend_commons