(clr, ctx)
| 261 | var _GRAPH_STROKE1 = null; |
| 262 | var _GRAPH_STROKE2 = null; |
| 263 | function _ctx_graph_strokeStyle(clr, ctx) { |
| 264 | clr = _parseRGBA(clr); |
| 265 | if (clr === undefined) { |
| 266 | if (_ctx && _ctx.state && _ctx.state.stroke !== undefined) { |
| 267 | clr = _parseRGBA(_ctx.state.stroke); |
| 268 | } else { |
| 269 | clr = "rgba(0,0,0,1)"; |
| 270 | } |
| 271 | } |
| 272 | if (_GRAPH_STROKE1 != clr || _GRAPH_STROKE2 != ctx.strokeStyle) { |
| 273 | _GRAPH_STROKE1 = ctx.strokeStyle = clr; |
| 274 | _GRAPH_STROKE2 = ctx.strokeStyle; |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | function _ctx_graph_lineWidth(w1, w2, ctx) { |
| 279 | if (w1 === undefined) { |
no test coverage detected
searching dependent graphs…