Kapucha

Scalling on X-Axis with non regular data

Recommended Posts

Hi I have non regular data and would like to render it.

 

 

 

The data is kilometers (x-axis) and fuel remain capacity in car (y-axis). So for example I have such data.

 

 

 

1km - 30.0 litres of fuel

 

5km - 29.0 litres of fuel

 

10km - 28.0 litres of fuel

 

50km - 24.0 litres of fuel

 

51km - 23.9 litres of fuel

 

 

 

I would like to render continious line chart based on those data is such way

 

 

 

 

 


40 liters 

  ^ 

  |

  |+

  |      +

  |            +

  |

  |                                               ++ 

  |

  -+-----+-----+----------------------------------++--->

 1km    5km  10km                               50km

                                                  51km

 

 

 

I would like to render such chart. Empty cells (without value) makes the chart is not continious. I there a way to scalling in that way x-axis? On your every demo charts the diffrence in point on x-axis is always the same (constant). In this I would like to make different distances (1km point <-> 5km point, 10km point <-----------------> 50km point)

 

I think this is clear.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now