Commit Graph

11 Commits

Author SHA1 Message Date
Jorge
1d31b3a7dc Add some style representation customization
Width of the grid and function lines.

Made drawing points for LineChart optional (especially useful when using a huge number of points to avoid overclustering). For this I had to rewrite the draw_lines function to work similar to draw_points using point_positions instead of information of the point nodes.

The string position of the labels is correctly calculated now. It uses a new variable: label_displacement so it don't look too close to the axis and the border.

Set some default values  that make more sense to the instanciable scenes.
2021-03-25 03:06:55 +01:00
Jorge
16d144f418 Add autoscale or user-defined range 2021-03-02 20:18:31 +01:00
Jorge
d46e099717
Rework of ScatterChart and LineChart (#40)
* Fixed ScatterChart to work like LineChart when are_values_columns is true

* Fixed labeling spaguetti and added offset.

* Fixed indentation to match GDScript style guide

* Fix distances calculations

Note that I removed the origin_at_zero conditional at calculate_coordinates because I already fix y_margin_min to 0 at structure_datas.

* Add missing features to ScatterChart

I added the missing features from LineChart to ScatterChart (like treshold and some properties) in preparation to creation of a Parent Class common to both. This way the changes can be traced easily.

* Add BaseClass for Scatter and Line Charts

* Changes to property_list getter

* Rename ScatterChartBase.gd to scatter_chart_base.gd

* Filenames changed to match GDscript Style Guide

From Godot so it doesn't break  the links.

* Fixed some dependencies on chart and chart2D
2021-02-21 11:29:29 +01:00
Nicolò Santilio
dd6562bcba Control charts update 2020-12-31 15:17:38 +01:00
Nicolò Santilio
536c11e5b5
update v0.4.6 2020-12-21 18:56:55 +01:00
Nicolò Santilio
e6d91dd707
Update 0.4.5
*added*:  
- class names for all custom Chart classes
- class name for LegendElement

*fixed*:
- minor bugs
- changed FunctionLegend to LegendElement
2020-11-09 18:16:36 +01:00
Nicolò Santilio
624662e8a2
Update 0.4.1
- bugfix
- added PieChart
- implemented real time plotting
- implemented array plotting
2020-11-06 19:32:11 +01:00
Nicolò Santilio
6ebf8f823c minor fixes update 2020-08-04 15:22:30 +02:00
Nicolò Santilio
0cf6873d75 update v0.2.8 2020-05-30 01:42:58 +02:00
Nicolò Santilio
009488b43b *added*- radar chart- better charts implementation- chart and chart2D classes to identify each chart- function_names_index as parameter to determine what's the index of the function names (both rows or columns) 2020-05-26 23:52:45 +02:00
fenix-hub
9a199ff1c7 v0.2 update 2020-05-20 17:28:10 +02:00