core-jgi/org.idempiere.zk.billboard
Muhammad Eko 943505d293 edit login 2024-05-14 11:24:23 +07:00
..
.settings IDEMPIERE-5402 Replace Jfree Chart with Billboard (#1463) 2022-09-07 00:36:43 +02:00
META-INF IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
src IDEMPIERE-5838 Fix various typos (#2188) 2024-01-23 15:43:48 +01:00
.classpath edit login 2024-05-14 11:24:23 +07:00
.project IDEMPIERE-5402 Replace Jfree Chart with Billboard (#1463) 2022-09-07 00:36:43 +02:00
README.md IDEMPIERE-5933 Update billboard.js to version 3.10.3 (#2112) 2023-11-18 13:05:56 +01:00
build.properties IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
pom.xml IDEMPIERE-5402 Replace Jfree Chart with Billboard (#1463) 2022-09-07 00:36:43 +02:00

README.md

org.idempiere.zk.billboard

  1. Wrap https://github.com/naver/billboard.js as zk component.

  2. Get latest billboard.min.js and billboard.js from https://naver.github.io/billboard.js/#download. Following Zk naming convention, rename billboard.min.js to billboard.js and rename billboard.js to billboard.src.js.

  3. Get d3 from https://d3js.org/. The current version use by billboard is v6 so the corresponding link is https://d3js.org/d3.v6.js and https://d3js.org/d3.v6.min.js. Again, following Zk naming conversion, we need to rename d3.v6.js to d3.v6.src.js and rename d3.v6.min.js to d3.v6.js.

  4. Replace billboard.css with latest billboard.css from https://naver.github.io/billboard.js/#download.

  • Add !important to padding and text-align of .bb-tooltip th and padding of .bb-tooltip td to fix conflict with zk css
  • Change font-size of text.bb-chart-arcs-gauge-title from 2.7em to 1.5em.
    • Original: text.bb-chart-arcs-gauge-title { dominant-baseline: middle; font-size: 2.7em; }
    • Updated: text.bb-chart-arcs-gauge-title { dominant-baseline: middle; font-size: 1.5em; }
  1. Update version-uid in metainfo.zk/lang-addon.xml and org.idempiere.zk.billboard.Version.UID (both value must match).

  2. Update version of "zul.billboard" and "zul.billboard.css" javascript-module in metainfo.zk/lang-addon.xml.