Skip to content

Radar plot - #1

Open
soaubier wants to merge 24 commits into
masterfrom
radar_plot
Open

Radar plot#1
soaubier wants to merge 24 commits into
masterfrom
radar_plot

Conversation

@soaubier

@soaubier soaubier commented Mar 7, 2025

Copy link
Copy Markdown
Owner

No description provided.

@soaubier
soaubier force-pushed the radar_plot branch 3 times, most recently from 0feee77 to 5edcf37 Compare March 11, 2025 10:51
@Djedouas

Copy link
Copy Markdown
Collaborator

Threshold spinbox maximum value must be a lot greater than 99.

If the threshold checkbox is not checked, we should hide the threshold widgets (line type and value), no?

Threshold checkbox need a first upper letter.

@Djedouas Djedouas removed their assignment Mar 14, 2025
@Djedouas
Djedouas self-requested a review March 15, 2025 18:10
Comment thread DataPlotly/core/plot_factory.py Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need something more recognizable: not filled and with more than 3 points.

See this example

image

Comment thread DataPlotly/core/plot_types/radar.py
Comment thread DataPlotly/core/plot_types/radar.py Outdated
Comment thread DataPlotly/core/plot_types/radar.py Outdated
if settings.properties['threshold'] is True :
colors_list.append('#000000')
settings.y.append([settings.properties['threshold_value']] * len(settings.y_radar_values[0]))
settings.y_radar_labels.append('threshold')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to translate this label

Comment thread DataPlotly/core/plot_types/radar.py Outdated
Comment thread DataPlotly/gui/plot_settings_widget.py Outdated
Comment on lines 674 to 677
self.marker_types = OrderedDict([
(self.tr('Points'), 'markers'),
(self.tr('Lines'), 'lines'),
(self.tr('Points'), 'markers'),
(self.tr('Points and Lines'), 'lines+markers')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change of order?

Comment thread DataPlotly/gui/plot_settings_widget.py Outdated
self.line_combo.clear()
for k, v in self.line_types.items():
self.line_type_threshold.clear()
for k, v in self.line_types2.items():

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why changing from line_types to line_types2?

Djedouas and others added 2 commits March 28, 2025 19:49
Co-authored-by: Jacky Volpes <34267385+Djedouas@users.noreply.github.com>
Comment thread DataPlotly/gui/plot_settings_widget.py Outdated
Djedouas added 6 commits June 27, 2025 15:08
line type and combo box are now decorrelated
Refresh the UI according to Points, Line, Points and Lines marker type
not only when marker type changes, but also when the plot type changes
(to be correctly initialized).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants