Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
875
Line chart using Y and Y2 axis
posted

I have a set of data that for each date, I have 2 pieces of numeric data.  For example:

Date              Value1      Value2

01/01/2010     10.5             2

02/01/2010     20.6             4

03/01/2010     30.7             6

04/01/2010     40.8             8

I am trying to represent this on a line chart where "Value1" is plotted against the Y-Axis and "Value2" is plotted against the Y2-Axis.  I am using the series feature of the chart.  I can create a  NumericTimeSeries and add NumericTimeDataPoints using the date and the value in the "Value1" column.  I then add this NumericTimeSeries to the chart's Series.  The time series line show up like expected.

I am also creating a different set of NumericTimeSeries with NumericTimeDataPoints using the same dates and the value from the "Value2" column.

How do I show this time series in the same chart so that "Value2" uses the Y2 axis instead of the Y axis that the "Value1" column is using?

Parents Reply Children
No Data