Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help using Highcharts with APEX

Lovely singhJan 7 2025 — edited Jan 8 2025

Description: I am using Highcharts to render a bar chart in Oracle APEX, and I am facing an issue where the x-axis dates (categories) do not align directly under their corresponding bars. Despite configuring the xAxis.categories and labels properties, the dates are either slightly off or completely misaligned with the bars.


Environment:

  • Oracle APEX Version: 23.1.5

Steps taken to resolve:
Highcharts.setOptions({
xAxis: {
tickPlacement: 'between',
labels: {
align: 'center',
rotation: 0,
y: 20
},

plotOptions: {
bar: {
pointPadding: 0.001, // Reduce spacing between bars
groupPadding: 0.2, // Reduce spacing between groups
borderWidth: 0,
columnWidth: '70%',
barHeight: '70%'
}
}
}
});

Comments
Post Details
Added on Jan 7 2025
3 comments
299 views