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

Scale to Y-Axis Data Bounds option should be checked when the data scaled to its bounds #3257

Closed
daks opened this issue Mar 4, 2015 · 7 comments
Labels
bug Fixes for quality problems that affect the customer experience discuss Feature:Vislib Vislib chart implementation Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@daks
Copy link

daks commented Mar 4, 2015

Hello,

I'm trying to create a vertical bar chart with an X-axis as Date Histogram and a Terms sub-aggregation splitting charts.
One chart got values between 0 to 250k, others between 0 - 100. All splitted histograms got the same y-axis and no bar is visible except for one.

I activated the 'Scale Y-Axis to Data Bounds' hoping it will solve my problem, but it seems not functional.

I'm using Kibana 4.

Thanks for your job.

@daks daks mentioned this issue Mar 4, 2015
@stormpython
Copy link
Contributor

@daks what is the min and max y value of each dataset (i.e. chart)? Could you also include a screenshot of your example?

The Scale to Y-Axis Data Bounds option when visualizing multiple charts does not scale each chart to its data bounds. That functionality needs to be implemented, and for that reason I am adding the bug tag as the option is misleading. But to really know if the function is buggy, I'd need to know the extent of all your datasets.

@stormpython stormpython added bug Fixes for quality problems that affect the customer experience feedback_needed labels Mar 4, 2015
@daks
Copy link
Author

daks commented Mar 4, 2015

This first image shows the rendering for the 3 top terms, and this one for the bottom 2 terms.

So I got 3 datasets, the first one with data ranging from 0 to 250k, and the 2 others with data from 0 to 70 max.

@stormpython
Copy link
Contributor

@daks ok, so in your case the y-axis did scale to the data bounds, as 0 is the min and 250 and 70 were the max.

However, the implementation of Scale Y-axis to Data Bounds is off.

It should automatically be ticked when the data is scaled to the bounds of the data. Keep in mind that this is a global representation of the data, and not at a chart level. This also needs to be changed. At the moment each chart is not scaled individually. That is, every chart shares the same Y axis. We are working on implementing separate scales for charts. There is already an issue for this, see #2021. Finally another issue is that charts without data or with data that are all zeros should render a no results found message.

I am breaking these out into issues and re-titling this issue.

@stormpython stormpython changed the title Vertical bar chart: 'scale y-axis to data bound' option not functional Scale to Y-Axis Data Bounds option should be checked when the data scaled to its bounds Mar 4, 2015
@daks
Copy link
Author

daks commented Mar 5, 2015

I thought this option means that each graph will adapt its y-axis to its own set of data, which in my case would mean that graph 1 would have a 0-250k axis, the second 0-30 and the third one 0-70.

If it's not the case, I don't understand what is this option for.

@stormpython stormpython added the Feature:Vislib Vislib chart implementation label Apr 17, 2015
@tbragin
Copy link
Contributor

tbragin commented Oct 13, 2016

I wonder what to do about this option -- I agree it's misleading given that it doesn't scale to Y-bounds of individual charts when charts are split, which is this enhancement #2021. It is also has known issues, such as: #7236 (comment)

@tbragin tbragin added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Nov 9, 2016
@tbragin tbragin removed the discuss label Feb 9, 2017
@amruthapbhat
Copy link

Hi,

Iam trying to create a chart where in the x-axis is the build version (Ex: 1.0,1.1) which is fetched from the index. Now i want the Y axis to have the timestamp (ie the time and the date the build was trigerred)

Is this possible to do as i see only count that be used for Y Axis

@thomasneirynck
Copy link
Contributor

Looking at this, this looks to be resolved.

We do have the issue of splitting charts no having individual y-axis extents, that is tracked here #2021.

@amruthapbhat You can do that by using horizontal bar charts. Check out the latest v5 version from Kibana. If you have follow up questions, the discuss.elastic.co/c/kibana forum is a good place to continue the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience discuss Feature:Vislib Vislib chart implementation Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

No branches or pull requests

6 participants