Here the fiddle, I need to create a scale with variable values in, like this :
_________________________________________________________________
| | | | | | | | | | | | |
1 2 3 4 5 6 7 8 9 10 20 30 40
And I want my data [2, 5, 9, 20] to be show like this :
=======
======================
==========================================
=====================================================
_________________________________________________________________
| | | | | | | | | | | | |
1 2 3 4 5 6 7 8 9 10 20 30 40