Hi Team,
I have a chart that has the following y-axis setting below and it is showing an error of "Bad number format specifier m ". I suspect that it's due to some records that doesn't have dates. How should empty or null data be handled? Thanks
//Initializing Primary Y Axis
primaryYAxis:
{
range: { min: new Date(new Date().getFullYear(), 0, 1), max: new Date(new Date().getFullYear(), 11, 31), interval: 1 },
intervalType: 'Months',
valueType: 'datetime',
labelFormat: 'MMM dd',
title: { text: 'Year' }
},
//Initializing Common Properties for all the series
commonSeriesOptions:
{
type: 'bar',
enableAnimation: true,
tooltip: { visible: true, format: "#series.name# - #point.x# <br/> Date : #point.y#" },
marker:
{
dataLabel:
{
font: { size: '10px', fontFamily: 'Segoe UI', fontStyle: 'Normal', fontWeight: 'regular' },
textPosition: 'top',
angle: -90,
visible: false
},
}
},