adaptive-linechart 1.2.0 → 1.2.1

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 CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.1 (20 Nov 2022)
4
+ * In README change link to demo and move to new repository.
5
+
3
6
  ## 1.2.0 (01 Nov 2020)
4
7
  * New feature:
5
8
  - By click on legend item hide/show line on chart.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## adaptive-linechart :chart_with_upwards_trend:
2
-
3
- Version 1.2.0
2
+ :
3
+ Version 1.2.0.0
4
4
 
5
5
  This is a small library to draw charts in the browser. Why is it "adaptive"? Because it automaticaly
6
6
  adjust chart to available size depend on min/max values on and timespan. Additional you
@@ -51,7 +51,7 @@ for(let i=0; i < arTimeSeries.length; i++) {
51
51
  lchart.draw();
52
52
  ```
53
53
 
54
- [Live example](http://www.softdorado.com/adaptive-linechart/)
54
+ [Live example](https://www.softdorado.com/adaptive-linechart.html)
55
55
 
56
56
  ## Public methods
57
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adaptive-linechart",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Independent library to draw line-chart in browser.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -8,7 +8,7 @@
8
8
  "browser": "dist/linechart-all.min.js",
9
9
  "author": "Andrej Koslov",
10
10
  "license": "MIT",
11
- "homepage": "https://github.com/andrejkoslov/adaptive-linechart",
11
+ "homepage": "https://gitlab.com/softdorado/linechart",
12
12
  "keywords": [
13
13
  "line",
14
14
  "chart",
@@ -16,6 +16,6 @@
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/andrejkoslov/adaptive-linechart.git"
19
+ "url": "git+https://gitlab.com/softdorado/linechart.git"
20
20
  }
21
21
  }
package/src/linechart.js CHANGED
@@ -1,4 +1,4 @@
1
- // Version 1.1.0
1
+ // Version 1.2.1
2
2
  // The oject represent line-chart. Constructor create HTML code for the chart. The chart
3
3
  // uses external CSS styles .nowrap .linechart, .chart-title, .chart-live-data, .chart-legend,
4
4
  // .chart-legent-item, .chart-legent-color. The chart uses global variable isMobil (Boolean).