I have a line chart that shows hours when they fit, otherwise days. Currently I have the category title text set to Time. How do I make the category title text dynamically display hours or days depending on which one the chart dynamically displays? Thank you.
k-category-axis="{ title: { text: 'Time', font: '12px Segoe UI,Tahoma,Geneva,sans-serif' }, type: 'date', baseUnit: 'fit', maxDateGroups: 24, autoBaseUnitSteps: { hours: [1], days: [1] }, labels: { rotation: -45, dateFormats: { hours: 'HH mm', days: 'MM/dd' } }}"
