Hi

I need a way to handle invalid data.

option = {
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
*      data: [150, 230, 224, 218, 135, 147, 260],*
*      type: 'radar'*
    }
  ]
};


For example, the radar chart does not work with an varray of numbers as
data. I want my app to tell me on runtime that the data is invalid. How
should I do this?

Thanks

Reply via email to