added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<text class="title {{model.fillClass}}" transform="translate(5, -5)">{{model.name}}</text>
|
||||
<text class="hide-control" {{action 'hideChart'}}>HIDE</text>
|
||||
|
||||
<rect class="g-background" height="{{height}}"></rect>
|
||||
|
||||
<line
|
||||
x1="0"
|
||||
x2="{{width}}"
|
||||
class="ruler-line {{model.strokeClass}}"
|
||||
transform="translate(0, {{halfHeight}})"
|
||||
/>
|
||||
@@ -0,0 +1,6 @@
|
||||
<text class="title {{model.fillClass}}" transform="translate(5, -5)">{{model.name}}</text>
|
||||
<text class="hide-control" {{action 'hideChart'}}>HIDE</text>
|
||||
|
||||
<rect class="g-background" height="{{height}}"></rect>
|
||||
|
||||
{{chart/g-ruler yScale=yScale yRulers=yRulers width=width}}
|
||||
@@ -0,0 +1,32 @@
|
||||
<text class="title {{model.fillClass}}" transform="translate(5, -5)">{{model.name}}</text>
|
||||
<text class="hide-control" {{action 'hideChart'}}>HIDE</text>
|
||||
|
||||
<rect class="g-background" height="{{height}}"></rect>
|
||||
|
||||
<line
|
||||
x1="0"
|
||||
x2="{{width}}"
|
||||
class="ruler-line {{model.strokeClass}}"
|
||||
transform="translate(0, {{halfHeight}})"
|
||||
/>
|
||||
|
||||
<g transform="{{nestedTransform}}">
|
||||
<defs>
|
||||
<g id="marker-{{xAxisElementId}}" >
|
||||
<circle cx="0" cy="0" r="{{markerRadius}}"/>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
{{#if openMarkerTooltip}}
|
||||
<text x="{{currentMarker.tip.x}}" y="{{currentMarker.tip.y}}" class="tool-tip {{model.fillClass}}">
|
||||
{{currentMarker.tip.label}}
|
||||
</text>
|
||||
{{/if}}
|
||||
|
||||
{{#each markers as |marker|}}
|
||||
<use xlink:href="#marker-{{xAxisElementId}}" x="{{marker.x}}" y="{{marker.y}}" class="marker {{model.fillClass}}"
|
||||
{{action "openMarkerTooltip" marker on="mouseEnter"}}
|
||||
{{action "closeMarkerTooltip" marker on="mouseLeave"}}
|
||||
/>
|
||||
{{/each}}
|
||||
</g>
|
||||
@@ -0,0 +1,23 @@
|
||||
<text class="title {{fillClass}}" transform="translate(5,-5)">{{name}}</text>
|
||||
<text class="hide-control" {{action 'hideChart'}}>HIDE</text>
|
||||
|
||||
<rect class="g-background" height="{{height}}"></rect>
|
||||
|
||||
{{chart/g-ruler yScale=yScale yRulers=yRulers width=width}}
|
||||
|
||||
<path class="line {{strokeClass}}" d="{{lineFunction}}" transform="{{nestedTransform}}"></path>
|
||||
|
||||
<g transform="{{nestedTransform}}">
|
||||
{{#if openPointTooltip}}
|
||||
<text x="{{currentPoint.tip.x}}" y="{{currentPoint.tip.y}}" class="tool-tip {{fillClass}}" >
|
||||
{{currentPoint.tip.label}}
|
||||
</text>
|
||||
{{/if}}
|
||||
|
||||
{{#each points as |point|}}
|
||||
<circle cx="{{point.x}}" cy="{{point.y}}" r="4" class="point {{strokeClass}}" stroke-width="2" fill="white"
|
||||
{{action "openPointTooltip" point on="mouseEnter"}}
|
||||
{{action "closePointTooltip" point on="mouseLeave"}}
|
||||
/>
|
||||
{{/each}}
|
||||
</g>
|
||||
@@ -0,0 +1,16 @@
|
||||
<g class="ruler-labels">
|
||||
{{#each rulers as |ruler|}}
|
||||
<text class="ruler-label" transform="translate(10, {{ruler.labelY}})">{{ruler.label}}</text>
|
||||
{{/each}}
|
||||
</g>
|
||||
|
||||
<g transform="translate({{linesOffset}})">
|
||||
{{#each rulers as |ruler|}}
|
||||
<line
|
||||
x1="5"
|
||||
x2="{{width}}"
|
||||
class="ruler-line"
|
||||
transform="translate(0, {{ruler.lineY}})"
|
||||
/>
|
||||
{{/each}}
|
||||
</g>
|
||||
@@ -0,0 +1 @@
|
||||
<g id="{{xAxisElementId}}" class="axis timeline"></g>
|
||||
@@ -0,0 +1,23 @@
|
||||
<text class="title {{model.fillClass}}" transform="translate(5, -5)">{{model.name}}</text>
|
||||
<text class="hide-control" {{action 'hideChart'}}>HIDE</text>
|
||||
|
||||
<rect class="g-background" height="{{height}}"></rect>
|
||||
|
||||
{{chart/g-ruler yScale=yScale yRulers=yRulers width=width}}
|
||||
|
||||
<path class="line {{model.strokeClass}}" d="{{lineFunction}}" transform="{{nestedTransform}}"></path>
|
||||
|
||||
<g transform="{{nestedTransform}}">
|
||||
{{#if openPointTooltip}}
|
||||
<text x="{{currentPoint.tip.x}}" y="{{currentPoint.tip.y}}" class="tool-tip {{model.fillClass}}" >
|
||||
{{pip-label currentPoint.tip.label}}
|
||||
</text>
|
||||
{{/if}}
|
||||
|
||||
{{#each points as |point|}}
|
||||
<circle cx="{{point.x}}" cy="{{point.y}}" r="4" class="point {{model.strokeClass}}" stroke-width="2" fill="white"
|
||||
{{action "openPointTooltip" point on="mouseEnter"}}
|
||||
{{action "closePointTooltip" point on="mouseLeave"}}
|
||||
/>
|
||||
{{/each}}
|
||||
</g>
|
||||
@@ -0,0 +1,23 @@
|
||||
<text class="title {{fillClass}}" transform="translate(5,-5)">{{name}}</text>
|
||||
<text class="hide-control" {{action 'hideChart'}}>HIDE</text>
|
||||
|
||||
<rect class="g-background" height="{{height}}"></rect>
|
||||
|
||||
{{chart/g-ruler yScale=yScale yRulers=yRulers width=width unit=unit}}
|
||||
|
||||
<path class="line {{strokeClass}}" d="{{lineFunction}}" transform="{{nestedTransform}}"></path>
|
||||
|
||||
<g transform="{{nestedTransform}}">
|
||||
{{#if openPointTooltip}}
|
||||
<text x="{{currentPoint.tip.x}}" y="{{currentPoint.tip.y}}" class="tool-tip {{fillClass}}" >
|
||||
{{currentPoint.tip.label}}
|
||||
</text>
|
||||
{{/if}}
|
||||
|
||||
{{#each points as |point|}}
|
||||
<circle cx="{{point.x}}" cy="{{point.y}}" r="4" class="point {{strokeClass}}" stroke-width="2" fill="white"
|
||||
{{action "openPointTooltip" point on="mouseEnter"}}
|
||||
{{action "closePointTooltip" point on="mouseLeave"}}
|
||||
/>
|
||||
{{/each}}
|
||||
</g>
|
||||
Reference in New Issue
Block a user