Rendering a single point in a JFreeChart based on the current Value of a Slider
问题 I'm not yet as much into Java as I'd like to be, so I find my current task to be quite a bit challenging: A chart showing data gathered in another class. A slider whose end value is determined by the last entry of in the dataset used in the chart. The playbutton currently doesn't do anything except letting the slider tick in steps of 5 until it is paused again. My problem right now is: I am supposed to highlight one item at a time in the chart based on which value the slider currently shows.