Getting all Data Points on A Line Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rfjacobsen49
Posts: 1
Joined: Fri Jul 26, 2013 3:01 pm
antibot: No, of course not.

Getting all Data Points on A Line Chart

Post by rfjacobsen49 » Fri Jul 26, 2013 3:47 pm

Hi.

This is my first post to this Forum and I am new to JFreeChart.

I need to generate a chart that shows a line representing all of my data points, but only displays a subset of the X values on the chart's X-axis tick line.

For example, if I have 134 data points, I want all of them represented in the chart line, but only want to display every 5th tick description on the X line. Right now I am creating a very baic line chart that simply displays every fifth data point along with it's X-axis tick description.

I have looked at the examples and see that this is doable; the red line in the Price Volume Chart Demo appears to show all data points but the X-axis text shows only each month. This is what I need to replicate. I need to be pointed in the right direction and also want to know if I am using the correct chart type.

I have followed David's advice on posting here and have found no post really addressing this issue.

Thanks in advance for anyone's help.

-RJ

Locked