MCPcopy
hub / github.com/plotly/plotly.js / assertLabel

Function assertLabel

test/jasmine/tests/funnelarea_test.js:800–812  ·  view source on GitHub ↗
(content, style, msg)

Source from the content-addressed store, hash-verified

798 }
799
800 function assertLabel(content, style, msg) {
801 assertHoverLabelContent({nums: content}, msg);
802
803 if(style) {
804 assertHoverLabelStyle(d3Select('.hovertext'), {
805 bgcolor: style[0],
806 bordercolor: style[1],
807 fontSize: style[2],
808 fontFamily: style[3],
809 fontColor: style[4]
810 }, msg);
811 }
812 }
813
814 it('should show the default selected values', function(done) {
815 Plotly.newPlot(gd, mockCopy.data, mockCopy.layout)

Callers 1

funnelarea_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…