- Introduce regions for smooth line & smooth line area from Laurent Callarec
- Sliding timeline : PR from Robert-Ordis
- Seek, pause and resume timeline : PR from Robert-Ordis
- Add GTK4 support and drop GTK3 : PR from taozuhong
- Properly remove a serie PR from Robert-Ordis
-
Missing second point in line / line-area serie
-
Last point in line / line-area rendered twice
-
Left padding when auto padding is enabled and y axis has no unit
-
Crash when accessing deprecated
Chart.background.main_color
property -
Tests can ran deprecated stuff without warnings
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.
var heap = new LiveChart.Serie("HEAP", new LiveChart.SmoothLineArea());
heap.line.color = { 0.3f, 0.8f, 0.1f, 1.0f };
var rss = new LiveChart.Serie("RSS", new LiveChart.Line());
rss.line.color = { 0.8f, 0.1f, 0.8f, 1.0f };
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.8f, 0.5f, 0.2f, 1.0f };
mrss.line.color = { 0.5f, 0f, 1.0f, 1.0f };
chart.add_serie(heap);
chart.add_serie(rss);
chart.add_serie(max);
chart.add_serie(mrss);
- Add a new
LiveChart.ThresholdLine
renderer which draw a straight line at a given value. Below, the red threshold line is defined at 200MB :
var threshold = new LiveChart.Serie("threshold", new LiveChart.ThresholdLine(200.0));
threshold.line.color = { 0.8f, 0.1f, 0.1f, 1.0f };
threshold.value = 250.0; // update threshold at runtime
- Add serie line / outline configuration options via
LiveChart.Serie.line
. Full configuration details available in Path class.
serie.line.color = { 0.0f, 0.1f, 0.8f, 1.0f };
serie.line.width = 2;
serie.line.dash = Dash() {dashes = {1}, offset = 2};
serie.line.visibility = false;//or true
Renderers main_color
properties are now deprecated and will be removed inLiveChart 2
. Use SerieRenderer.color property instead.- Background.main_color property is now deprecated and will be removed in
LiveChart 2
. Use Background.color property instead.
- Add a serie.add_with_timestamp(double value, int64 timestamp) method when you need to add a value with a manually defined timstamp, in milliseconds
- Serie.set_main_color and Serie.get_main_color methods are now deprecated and will be removed in
LiveChart 2
. Use serie.main_color property instead.
Series
can be retrieved using Chart.series property, by index using array access notation or getter (Chart.series[index] or Chart.series.get(int index)
), or by name (Chart.series.get_by_name(string name)
). Adding a new value to a serie is simpler : get the serie (either from where you created it or from chart's property) and add a value with Serie.add(double value)
- Hence Chart.add_value and Chart.add_value_by_index methods are now deprecated and will be removed in
LiveChart 2
. Use above new methods instead.
Contributions from https://github.com/taozuhong:
- Compile error https://github.com/taozuhong on MSYS2
- Build shared library if needed
- add
chart.add_unaware_timestamp_collection_by_index(int serie_index, Gee.Collection<double?> collection, int timespan_between_value)
method, to add your own data collection to a serie given itsserie_index
(unlikechart.add_unaware_timestamp_collection()
which takes the serie as argument)
- Crash when the max value of a serie is 0
- Crash when the chart widget is realized before any data is added
- add
chart.add_value_by_index(int serie_index, double value)
method, to add a value to a serie given itsserie_index
(unlikechart.add_value()
which takes the serie as argument)
- Configure legend font
var chart = new LiveChart.Chart(config);
var legend = vhart.legend;
legend.labels.font.size = 12; // uint8 In pixels
legend.labels.font.color = { 1.0f, 0.0f, 0.0f, 1.0f }; // Gdk.RGBA
legend.labels.font.weight = Cairo.FontWeight.BOLD; // Cairo.FontWeight
legend.labels.font.slant = Cairo.FontSlant.ITALIC;// Cairo.FontSlant
- Configure axis labels font
var labels;
labels = config.x_axis.labels;
//or
labels = config.y_axis.labels;
labels.font.size = 12; // uint8 In pixels
labels.font.color = { 1.0f, 0.0f, 0.0f, 1.0f }; // Gdk.RGBA
labels.font.weight = Cairo.FontWeight.BOLD; // Cairo.FontWeight
labels.font.slant = Cairo.FontSlant.ITALIC;// Cairo.FontSlant
- Improved legend labels vertical alignement
- 70370e Import your own timestamp unaware data collection
- e36b6b Can now retrieve underlying
Values
object fromSerie
- 6fc2f4 Can now clear
Values
object fromSerie
- Open LiveChart Valadoc to public
- c77e2c Wrong default Path colors
- Improve documentation
- Merge source files
- Create Valadoc
- Merge source files
- Remove obsolete Makefile
- 8fe363 Configurate main axis (abscissa and ordinate lines) color, line width and dash style
- 79e96b Chart config is now a public chart attribute
- db7766 Axis class type is replaced with more convenient Path class.
- Improve documentation
- 24258e Internally, structs Axis and Labels are replaced by classes
- Improve tests
- Configurate guidelines color, line width and dash style
- Guidelines can be hidden independently from the whole grid
- Main axes (abscissa and ordinate lines) can be hidden independently from the whole grid
- Time and value labels can be hidden
- Auto padding configuration is not
nullable
, useLiveChart.AutoPadding.NONE
instead - Add license, release badges to README
- Grid and legend can be hidden