In my application I have 2 graphs, one above the other on the UI (as in closer to the top of the monitor). Both graphs' horizontal axes refer to the same range of time. Their vertical axes can be very different though, so I want to keep them as to graphs. They offer complimentary information, and as such, I would like to keep their horizontal axes in sync, even if their vertical axis labels for them to shift.
In both cases, the chart controls that contain these have the same width, just the data inside is shifted.
I currently have this:
10000|
8000|
6000|
4000|
2000|
0 ---------------------------------
0 10
Long Label 3|
Long Label 2|
Long Label 1|
Long Label 0 -----------------------
0 10
And I want this:
10000|
8000|
6000|
4000|
2000|
0 ---------------------------------
0 10
Long Label 3|
Long Label 2|
Long Label 1|
Long Label 0 ---------------------------------
0 10
They were originally separate Chart MSChart controls. I tried putting them in the same chart control as different chart areas, but it did not fix the problem.
How could I achieve this? I would preferably like them on separate chart controls, but I could settle for separate Chart areas if I have to.