Home Forums Chart Support Charts with drop down button to filter Reply To: Charts with drop down button to filter


Hi Indranil,
I’ve got a problem using the code you shared and I cannot find where I’m making a mistake.

I’ve been changing the code from the model, but as soon I change the “X” values by names instead of dates I lose the values in the chart and the chart is empty

I think that there’s something in this part: chart.options.data[0].dataPoints.push({x: new Date(xVal), y: dps[i].y}); that I need to modify, but I cannot find the answer.

You can have a look here to my code.

Thanks in advance!