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

Add to Line Chart ability to select x-axis other than date field, or add a new Line Chart that is not time series #10828

Closed
eugeniamz opened this issue Sep 10, 2020 · 16 comments
Labels
enhancement:committed Enhancement planned / committed by a contributor viz:charts:echarts Related to Echarts

Comments

@eugeniamz
Copy link

At the moment, Line chart is a time series chart and X-Axis always is the date in the time section

image

It would be a great addition to have Line Chart that allows X-axis to be any filed so can be used to compare trends despite without link with dates.

Use case at the moment, I want to compare different customers' growth by the month of Customer Acquisition date but all of them have a different start dates.

For example this dataset :
image

This is the best chart that I can do with the Line Chart
image

If I create a metric as the: datediff('month', start_date,sales_date) I would like to be able to do a chart like this.
image

It is possible with Bars but it is harder to see trends and do comparison with the bars, in addition, bars get even more confused when the field to breakdown has many distinct values
image

@eugeniamz eugeniamz added the enhancement:request Enhancement request submitted by anyone from the community label Sep 10, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@bkyryliuk
Copy link
Member

dropboxers are requesting a similar feature

@junlincc
Copy link
Member

will implement numeric and categorical line chart with new echarts soon

@junlincc junlincc added viz:charts:echarts Related to Echarts and removed chart viz:charts:echarts Related to Echarts labels Jan 2, 2021
@eugeniamz
Copy link
Author

@junlincc any ETD?

@junlincc junlincc added enhancement:committed Enhancement planned / committed by a contributor and removed enhancement:request Enhancement request submitted by anyone from the community labels Feb 15, 2021
@x670
Copy link

x670 commented Aug 11, 2021

will implement numeric and categorical line chart with new echarts soon

how soon?

@stephanclaus
Copy link

Hi, this feature would be very much appreciated.

@villebro
Copy link
Member

@x670 @stephanclaus this is being worked on right now (some recent development linked to this old issue: #822)

@stale
Copy link

stale bot commented Apr 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label Apr 18, 2022
@ValentinC-BR
Copy link

@x670 @stephanclaus this is being worked on right now (some recent development linked to this old issue: #822)

Hello,
How far are we from getting this new feature ?
Numerical abscisses would be really appreciated on our side too.

Is there any workaround ?

@stale stale bot removed the inactive Inactive for >= 30 days label Nov 8, 2022
@villebro
Copy link
Member

villebro commented Nov 8, 2022

@ValentinC-BR , this is already fairly stable on master branch. Just enable the GENERIC_CHART_AXES feature flag.

@ValentinC-BR
Copy link

Didn't see that, thanks !

Since when (which version) is this feature available ? I have some troubles finding it, and we're still in 1.5 in our company.

@villebro
Copy link
Member

villebro commented Nov 8, 2022

I't not really ready on 1.5, so I do recommend waiting until the forthcoming 2.1 release (release date still unknown). But if you want to take a sneek peak and do some early testing, please try out master branch locally with the relevant feature flag enabled.

@ValentinC-BR
Copy link

Got it, thanks.

We'll wait for the 2.1 then.

@rusackas
Copy link
Member

2.0.1 would be a good release for those looking to upgrade. Meanwhile, since this feature is out there in the wild, I'll go ahead and close the issue for now. Bugs and whatnot can be taken up in new threads! Thanks!

@Anandappak
Copy link

Line chart x-axes label without time: how to create?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:committed Enhancement planned / committed by a contributor viz:charts:echarts Related to Echarts
Projects
None yet
Development

No branches or pull requests

10 participants