I need to change the color of chart depending on the certain value of y axis paramerter...

I am unable to retrieve the values ...

i am using these

renderer = chart.getPlot().getRenderer();data = chart.getPlot().getDataset();
keys = data.getRowKeys();


Now to get the value of a filed say"tdch"

how to do it ...