thecore_ui_commons 3.2.6 → 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: 7510450f359d0ddc49597a44b8609843ae9b07d4c50ca3be098f64f50f11e5fc
4
- data.tar.gz: d30e2bada0525711ffc26a7a9178367bcb789a536df8359c3c8f2d7badc38ff1
3
+ metadata.gz: aaf234fe9cbb69c8badd6c235d7c4f7b5ac385d83c2690ea834d3eeaa18c2218
4
+ data.tar.gz: 0ec33022227156b2aefa0f8a0c06639c4f54c5acaef154bb9830d4e07ed17205
5
5
  SHA512:
6
- metadata.gz: b0878779c24669af8b630acc4a092d67501212db6e40b23134082eb8daa093f39175d530e69900fc9341a96e46c371ded9e8c579bc3719f029ec92ef5e2bea72
7
- data.tar.gz: 9a613644dd04a1b968d695c2bd49dc45f38bf3464da106b83f3f8569cd01db27e212b45988383af55ae57db68b2dad0391e77b2c8ec11f86b9dcf15784f73612
6
+ metadata.gz: 9d361c719112ba83c001550f2d875d4f7db297b351105de1b9afef3f96678d56cdc4bd989c9a8ed8c1d28361c15af2ad784847ba6e9bd23f9ccc975aeaeb3c5c
7
+ data.tar.gz: d707e2ec3bd761c6359df75035bb4a81547050f32132f00ebbb00977fe893e3a6f6ad902e2489d5349e31d8939b09b6bc254c883b392181570fb65278e138988
@@ -1,6 +1,6 @@
1
1
  Rails.application.config.filter_parameters += [:password]
2
2
 
3
- Rails.application.config.active_record.raise_in_transactional_callbacks = true
3
+ # Rails.application.config.active_record.raise_in_transactional_callbacks = true
4
4
 
5
5
  Rails.application.config.assets.configure do |env|
6
6
  env.export_concurrent = false
@@ -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.6".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.6
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