Commit 5d9cff7f authored by Xavier Watkins's avatar Xavier Watkins
Browse files

Add term name to chart mouseover

parent 559dc14c
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
<img id="ancestorChart" ng-src="data:image/png;base64,{{img}}" alt="Ancestor chart" usemap="#{{imageMapId}}" width="{{imageWidth}}" <img id="ancestorChart" ng-src="data:image/png;base64,{{img}}" alt="Ancestor chart" usemap="#{{imageMapId}}" width="{{imageWidth}}"
height="{{imageHeight}}" style="{{style}}" cg-busy="chartPromise" /> height="{{imageHeight}}" style="{{style}}" cg-busy="chartPromise" />
<map name="{{imageMapId}}"> <map name="{{imageMapId}}">
<area shape="rect" coords="{{node.left}},{{node.top}},{{node.right}},{{node.bottom}}" href="term/{{node.id}}" title="Term {{node.id}}" <area shape="rect" coords="{{node.left}},{{node.top}},{{node.right}},{{node.bottom}}" href="term/{{node.id}}" title="{{node.id}}: {{node.name}}"
title="{{node.id}} - Click for more information" ng-repeat="node in graphImage.nodePositions"> ng-repeat="node in graphImage.nodePositions">
<area shape="rect" coords="{{node.left}},{{node.top}},{{node.right}},{{node.bottom}}" title="{{tooltip}}" ng-repeat="node in graphImage.legendPositions"> <area shape="rect" coords="{{node.left}},{{node.top}},{{node.right}},{{node.bottom}}" title="{{tooltip}}" ng-repeat="node in graphImage.legendPositions">
</map> </map>
</div> </div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment