Skip to content

Commit

Permalink
Prepare 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lcallarec committed Nov 19, 2020
1 parent 56defc2 commit 10bd3ef
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 1.9.0

## New features

* [`LiveChart.MaxBoundLine`](https://lcallarec.github.io/live-chart/Livechart/LiveChart.MaxBoundLine.html) and [`LiveChart.MinBoundLine`](https://lcallarec.github.io/live-chart/Livechart/LiveChart.MaxBoundLine.html)

Max and Min bound line renderer draws a straight line which represents either a `MIN` or a `MAX` of a given serie, or of all series.

```vala
var heap = new LiveChart.Serie("HEAP", new LiveChart.SmoothLineArea());
heap.line.color = { 0.3, 0.8, 0.1, 1.0};
var rss = new LiveChart.Serie("RSS", new LiveChart.Line());
rss.line.color = { 0.8, 0.1, 0.8, 1.0};
var max = new LiveChart.Serie("MAX OF RSS OR HEAP", new LiveChart.MaxBoundLine());
var mrss = new LiveChart.Serie("MAX HEAP", new LiveChart.MaxBoundLine.from_serie(rss));
max.line.color = { 0.8, 0.5, 0.2, 1.0};
mrss.line.color = { 0.5, 0, 1.0, 1.0};
chart.add_serie(heap);
chart.add_serie(rss);
chart.add_serie(max);
chart.add_serie(mrss);
```

# 1.8.0

## New features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Take a look at code examples :

* [General example](examples/live-chart.vala)
* [Fixed max y-axis value](examples/fixed-max.**vala**)
* [Fixed max y-axis value](examples/fixed-max.vala)
* [Hide chart elements](examples/hide-parts.vala)
* [Label configuration](examples/configure-labels.vala)
* [Static renderers](examples/static-renderer.vala)
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('live-chart', ['vala', 'c'], version: '1.8.0')
project('live-chart', ['vala', 'c'], version: '1.9.0')

cc = meson.get_compiler('c')
libm = cc.find_library('m', required: true)
Expand Down

0 comments on commit 10bd3ef

Please sign in to comment.