Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Fixed Vertical & Horizontal Bar visualization issues #1156

Conversation

Koustubh5585
Copy link
Contributor

Description

Fixed visualization issues of vertical and horizontal bar chart

  • Wrong data plotted
  • Timestamp do not get plotted
  • Color theme applied without selecting field from dropdown
  • Tooltip options are not working
  • Renamed "Metrics" to "Series"

Issues Resolved

#1153

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
@Koustubh5585 Koustubh5585 requested a review from a team as a code owner October 19, 2022 12:21
@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2022

Codecov Report

Merging #1156 (766aa20) into main (e486d06) will increase coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff            @@
##               main    #1156   +/-   ##
=========================================
  Coverage     53.70%   53.71%           
  Complexity      291      291           
=========================================
  Files           279      279           
  Lines          9490     9494    +4     
  Branches       2244     2248    +4     
=========================================
+ Hits           5097     5100    +3     
  Misses         4223     4223           
- Partials        170      171    +1     
Flag Coverage Δ
dashboards-observability 47.87% <50.00%> (+0.01%) ⬆️
opensearch-observability 71.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ashboards-observability/common/constants/shared.ts 100.00% <ø> (ø)
...onfig_panes/config_controls/config_color_theme.tsx 52.77% <0.00%> (ø)
...c/components/visualizations/charts/bar/bar_type.ts 100.00% <ø> (ø)
.../visualizations/charts/histogram/histogram_type.ts 100.00% <ø> (ø)
...omponents/visualizations/charts/lines/line_type.ts 77.77% <ø> (-22.23%) ⬇️
...ublic/components/visualizations/charts/bar/bar.tsx 51.51% <57.14%> (+3.09%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Koustubh5585 Koustubh5585 changed the title Fixed visualization issues of vertical and horizontal bar Fixed visualization issues (#1153) of vertical and horizontal bar Oct 19, 2022
@Koustubh5585 Koustubh5585 changed the title Fixed visualization issues (#1153) of vertical and horizontal bar [BUG]: Fixed Vertical & Horizontal Bar visualization issues Oct 19, 2022
mengweieric
mengweieric previously approved these changes Oct 20, 2022
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
Comment on lines 81 to 87
// Gauge = 'gauge',
// Histogram = 'histogram',
// TreeMap = 'tree_map',
// Scatter = 'scatter',
// LogsView = 'logs_view',
// Metrics = 'metrics',
// TableView = 'data_table',
Copy link
Member

Choose a reason for hiding this comment

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

can we remove comments if not needed?

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1 yes let's remove these rather than commented out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @ps48 @mengweieric commented as this is not a permanent removing of the feature, we may uncomment it in future. Anyways I will remove it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

we can always add back without commenting or uncommenting.

Signed-off-by: Koustubh Karmalkar <koustubh_karmalkar@persistent.com>
@mengweieric mengweieric requested a review from ps48 October 21, 2022 16:30
@mengweieric mengweieric merged commit a282bc9 into opensearch-project:main Oct 22, 2022
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.

6 participants