Posts

Showing posts with the label jet

Oracle JET Charts - Series Bar Chart with Zero Value Bars

Image
Oracle JET Charts  is a beautiful chart library which has out-of-box support in Oracle APEX version 5 on-wards. Purpose of this blog is to introduce with a small tweak in Series Bar Chart. Problem When you use Series Bar Chart and if you have some series with NULL or ZERO value, the bar will not appear at all. This is correct behavior from the Charting way, but visually - you may find it difficult to detect the bar against a series. Below is a sample bar chart with ZERO values where you can see gaps between. Below is same bar chart but fixed the gap with very small bar where the value is ZERO. Solution Inside your series bar chart, you will find Axes, and select "Y" Change following options: Format = "Decimal" Decimal Places = 0 Step = 1 Working Demo Hope this helps! Regards, Jaydip Bosamiya jbosamiya@gmail.com
My photo
Jaydip Bosamiya
I am Oracle APEX Consultant, Blogger and Integrator. All-rounder in building small, medium and enterprise applications. Extensive knowledge in various area of web-driven applications in Back-end (PL/SQL, SQL, Java), Front-end (Oracle APEX, HTML, JavaScript, CSS, jQuery, OracleJET, ReactJS), RESTful APIs, Third-party library integrations (Apex Office Print (AOP), Payment Gateways, Syncfusion, HighCharts) and APEX Plugins (HighChart, StarRating)