Ignore:
Timestamp:
01/08/16 00:37:09 (9 years ago)
Author:
nanardon
Message:

Add some date to timeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/static/js/timeline/timeframe.js

    r1584 r1607  
    227227                        .appendTo(group); 
    228228 
     229        var line = $svg.line( 
     230           x, 
     231           this.height - this.options.textHeight - this.options.tickHeight + this.paddingY, 
     232           x, 
     233           this.height - this.options.textHeight - this.options.tickHeight + this.paddingY - 24 
     234        ) 
     235            .attr("stroke", "blue") 
     236            .attr("stroke-width", 1) 
     237            .appendTo(group);  
     238 
    229239                var label = $svg.text( 
    230240                        x, 
    231                         this.height - this.options.textHeight - this.options.tickHeight + this.paddingY - 8, 
     241                        this.height - this.options.textHeight - this.options.tickHeight + this.paddingY - 32, 
    232242                        event.name, 
    233243                        { 
    234                                 fill: "black", 
     244                                fill: "blue", 
    235245                                "font-size": "12", 
    236246                                "text-anchor": "middle" 
Note: See TracChangeset for help on using the changeset viewer.