Skip to content

Commit

Permalink
Release 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lcallarec committed Apr 15, 2020
1 parent 0bbe621 commit 34f6a17
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# 1.5.0

## New feature

* Configure legend font

```vala
var chart = new LiveChart.Chart(config);
var legend = vhart.legend;
legend.labels.font.size = 12; // uint8 In pixels
legend.labels.font.color = {1.0, 0.0, 0.0, 1.0}; // Gdk.RGBA
legend.labels.font.weight = Cairo.FontWeight.BOLD; // Cairo.FontWeight
legend.labels.font.slant = Cairo.FontSlant.ITALIC;// Cairo.FontSlant
```

* Configure axis labels font

```vala
var labels;
labels = config.x_axis.labels;
//or
labels = config.y_axis.labels;
labels.font.size = 12; // uint8 In pixels
labels.font.color = {1.0, 0.0, 0.0, 1.0}; // Gdk.RGBA
labels.font.weight = Cairo.FontWeight.BOLD; // Cairo.FontWeight
labels.font.slant = Cairo.FontSlant.ITALIC;// Cairo.FontSlant
```

* Improved legend labels vertical alignement

# 1.4.0

## New feature
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.3.4')
project('live-chart', ['vala', 'c'], version: '1.5.0')

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

0 comments on commit 34f6a17

Please sign in to comment.