Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

fix: line chart does not handle temporal field correctly #68

Merged
merged 10 commits into from
Apr 23, 2019

Conversation

kristw
Copy link
Collaborator

@kristw kristw commented Apr 23, 2019

🐛 Bug Fix

The Line Chart is using @data-ui/xy-chart under the hood which takes care of scaling by itself at the moment. The previous code already encode the data from time into position before passing to @data-ui/xy-chart so it did not render correctly.

@kristw kristw requested a review from a team as a code owner April 23, 2019 19:46
Copy link
Contributor

@xtinec xtinec left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@netlify
Copy link

netlify bot commented Apr 23, 2019

Deploy preview for superset-ui-plugins ready!

Built with commit 0b03011

https://deploy-preview-68--superset-ui-plugins.netlify.com

@netlify
Copy link

netlify bot commented Apr 23, 2019

Deploy preview for superset-ui-plugins ready!

Built with commit 3395153

https://deploy-preview-68--superset-ui-plugins.netlify.com

@xtinec xtinec merged commit 79ff3e1 into master Apr 23, 2019
@delete-merged-branch delete-merged-branch bot deleted the kristw--line-temp branch April 23, 2019 20:02
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
* Add superchart and convert to ts

* fix compilation error

* fix build issue

* unit test working

* Add default width and height to ChartProps

* export SuperChart

* Add null check and update unit tests

* update unit tests

* complete test coverage

* Add generic

* reduce timeout
nytai pushed a commit to preset-io/superset-ui-plugins that referenced this pull request Apr 27, 2020
…rset#68)

* fix: fallback to default margin when margin is partially set

* feat: can disable axis title

* feat: adjust margin according to axis title visibility

* feat: include margin in formData

* feat: add buildQuery

* fix: address kyle comments

* fix: remove string false

* fix: line chart temporal scale

* fix: format
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants