-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
x-axis labels for "date range" aggregations are unusable #10148
Comments
Hi tbragin, even i am also looking for your second thought. Did you find any workaround? |
@vijaygoturi Looks like this should be fixed in 5.4. If you upgrade to latest minor version of Kibana (5.6.x) and find it's still a problem, you should file a new issue. |
@tbragin I am working on 5.6 version and still not able to custom label the data range. |
@alexfrancoeur @ppisljar @thomasneirynck Are you able to repro? Do you want a new issue filed, or reopen this one? |
the only thing introduced by 5.4 is the ability to rotate the labels (have them either horizontally or vertically). we did not introduce an option to generate custom labels. |
@ppisljar I need the labels along the x-axis points. But, I want to hide the date range that is appearing due to sub-bucket added for the date range. On unchecking the options, only the labels along the axis are hidded, not the date range label. |
could you post a screenshot of your aggregation setup ? (the data tab in editor) |
Even if i specify something in custom label, it only changes the end part of the label and not the date range. I wish to avoid the display of the date range |
could you try to use |
@ppisljar There is no split bucket option under Add Sub Buckets. I want to filter the records for the past 12 weeks from the current date. So I used split chart |
sorry, i meant |
@ppisljar Thanks. I am getting what I needed along the x-axis, but the range is now appearing along the y-axis labels.
Moreover after adding the split series, whatever the color codes that i am adding to the graphs are not getting correctly reflected in the shared iframe. |
i am not really sure what you mean by the range on y axis labels ... |
@ppisljar My overridden values appear at the end of the date range The one in the black circle is the custom label. |
this looks like a bug specific to date range agg .... could you open a separate issue for it ? thanks! |
Is there any category of bug for this? |
just assign it to me and i'll make sure the right labels are assigned. |
@ppisljar Another issue is the color codes that are assigned during visualization are not getting reflected in the shared iframe |
@vijaygoturi I assigned to @ppisljar and added the appropriate labels. I believe Just to confirm, this issue has been re-opened because we currently do not allow you to customize the x-axis date label. @thomasneirynck @ppisljar is this as simple as adding support for the date formatter function in painless? |
The dates are formatted by the vislib, we would need to add support for formatting there. |
I think the various bugs and issues here have been resolved by now, and the remaining issue is open separately: #13784 |
When creating any "date range" visualization, labels are always vertical, always attempt to show the full date, and are always cut off.
As far as I can tell, it behaves the same way as in Kibana 4, except there the labels were horizontal, so it's not a major regression, but something we should still address.
A couple of thoughts:
The text was updated successfully, but these errors were encountered: