I want to pass a cell refernce to my dataset of JFreeChart. How can I pass a cell of excel for chart using JFreeChart?
For example,
DefaultCategoryDataset my_bar_chart_dataset = new DefaultCategoryDataset();
my_bar_chart_dataset.addValue("Here i want to pass cell reference","Customer","");
I am using apache-poi library and jfreechart for chart.
For example, we have in excel like i want to drag a cell and create chart like that i have to pass cell reference so that if i can mouse over graph part then that will show me cell which i have selected.
click here like what i want attach in image. i have to pass cell reference in jfreechart as i mention in question.