Skip to Main Content
Feature Request FR-2585
Product Area Page Components
Status CLOSED

3 Voters

Set a (minimum) bar width in bar chart

alireza emad Public
· Jun 21 2022

Idea Summary
At the moment, bar width can be controlled by setting the height of the chart region. By setting a constant height for the chart, in the case of having a variable number of rows in the chart (depending on the user and the data at the time), bar widths could be really small or really big.

Use Case
In the cases that the number of rows displayed in the chart dynamically change, chart should adjust itself. 

Preferred Solution (Optional)
It would be good if we could select a (minimum) bar width in the properties and the height would adjust automatically.

We reviewed this idea carefully and came to the conclusion that it does not constitute an appropriate APEX feature request.

Comments

Comments

  • jayson hanes Admin OP 3 years ago

    APEX relies on Oracle JET for the charts, and APEX does have some declarative options around much of the available functionality, however, per Hilary on the APEX Dev Team - 

    The JET ojChart API doesn't support an option to set the minimum width of a bar.  We have an option to set the maximum - not the minimum.  JET supports a 'z' attribute to set the width of a chart - which we already declaratively expose - but if the given height of the chart isn't large enough to render the bar elements, then JET will automatically reduce the bar width to fit the given height i.e. overriding the 'z' setting.  What other customers have done is switch on zoom at chart-level

  • jayson hanes Admin OP 3 years ago

    Oracle JET has a community forum and slack channel as posted at the bottom of this page, perhaps this idea can be sent to them? https://www.oracle.com/webfolder/technetwork/jet/index.html?ojr=help