Forum Discussion

jamaalmoosa's avatar
jamaalmoosa
Copper Contributor
May 06, 2020
Solved

Graph is taking column as X-axis rather than the cell value. Does anyone know how to rectify this?

Hi there,   I'm attempting to create a combination graph in excel representing 3 different sets of data. On my X-axis I have distance travelled and on the Y-axis energy consumed. There is a point i...
  • Riny_van_Eekelen's avatar
    May 07, 2020

    jamaalmoosa I suspect that you did not link the X-axis labels to the Distance column. The labels in your picture seem to just count the number of data points. Having said that, allow me to suggest another chart that may represent your data better.

     

    As you mention, you have three sets of data, Time, Energy and Distance. However, your chart only takes the latter two into account. Energy levels decrease (consumption) and increase (charging) over time. Distance traveled is also related to time as time progresses during both travel (consumption) and stand-still (i.e. charging).

     

    Time is the factor that combines the other two and should therefore be on the X-axis. Then you could put the Energy part on the primary Y-axis and Distance on the secondary Y-axis. The chart would then look like in the picture below. I just made up some numbers to create a shape that resembles your picture.

     

Resources