jTLine

Examples: Distance Mode

You can set the Distance Mode to be : 'fixDistance' | 'auto' | 'predefinedDistance'


                                   
                   < div class="myjtline" > </ div >
                
                

                
                $('.myjtline').jTLine({
                    callType: 'jsonObject',
                    structureObj: myObject,               
                    distanceMode: 'fixDistance', // 'fixDistance' 'auto' 'predefinedDistance'
                    eventsMinDistance: 60,       //  Consider It as Distance Unit "by Pixel"
                    fixDistanceValue: 2,         //  if eventsMinDistance = 60 & fixDistanceValue = 2 
                                                 //        then the Distance is: (60*2) = 120 px
                    firstPointMargin: 1          //  First Point Margin from the left
                  });