Hi,
I'm having a couple of problems getting the Gantt chart to do what I need it to.
1)
I'm using the Gantt chart to visualize file statuses for items in my app. According to the doc (https://api.highcharts.com/gantt/xAxis. ... toRotation), the Xaxis labels are supposed to rotate when overlapping. That is not happening no matter which parameters I set.
This is the result I'm getting when using zoom - the labels are cut showing "..." instead of rotating 45 degrees.
https://imgur.com/a/VjCK3Y2
Fiddle:
https://jsfiddle.net/larsathle/ze5h73kc/13
(Just zoom a couple of times to replicate the situation in the image)
Am I missing something or is this simply not possible?
2)
Setting dateTimeLabelFormat using list: [] as it says in the doc does not work when using the component from TypeScript. This worked in v6.2.0, but stopped working after upgrading to 8.2.0.
dateTimeLabelFormats: {
hour: {
list: ['%H:%M', '%H'],
}
}
This results in the message:
Type '{ list: string[]; }' is not assignable to type 'string | AxisDateTimeLabelFormatsOptionsObject'.
Object literal may only specify known properties, and 'list' does not exist in type 'AxisDateTimeLabelFormatsOptionsObject'.ts(2322)
highcharts.d.ts(4312, 5): The expected type comes from property 'day' which is declared here on type 'AxisDateTimeLabelFormatsOptions'
Is there any other way to set this to be able to customize this?
Thanks in advance,
Lars