Skip to content

Horizontal bar charts with X axis on the right side instead of left #77398

@darshakkakkad

Description

@darshakkakkad

Describe the feature:
This was originally a question I had asked here. This request is for the Bar Chart viz. I will take Horizontal Bar Chart as an example here but the idea holds true even for Vertical Bar Chart.

By default, the bars start from left and go to right. What I mean is the Y Axis is at the bottom and X Axis is at the left. I was wanting to flip that, so instead my bars would start from right and go to left. This means the Y Axis still remains at the bottom, but X Axis is at the right.
BarChart

I know it is possible to position the Labels. I have positioned the Labels to be on the right. This does not move the starting position of the bars themselves.
BarChartAxisLabelRight

Describe a specific use case for the feature:
Say, I have a stacked bar chart for test suite results. Now, I would like to add another stacked Bar Chart for the test suite results, this time for a different release. I would like to see the results of the 2 releases side by side as 2 graphs.
Screen Shot 2020-09-14 at 12 41 35 PM

The middle viz contains the Test Suite Name and the 2 bar charts on it's either side correspond to the results in each release. If the left chart can start from right and go to left, it will be easier to map the test suite that the bar corresponds to. Please let me know in case of further clarifictions.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensFeature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.🧊 iceboxed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions