MCPcopy Index your code
hub / github.com/apache/echarts / getLineBlockLengthX

Function getLineBlockLengthX

src/util/decal.ts:423–427  ·  view source on GitHub ↗

* Get block length of each line. A block is the length of dash line and space. * For example, a line with [4, 1] has a dash line of 4 and a space of 1 after * that, so the block length of this line is 5. * * @param {number[][]} dash dash array of X or Y * @return {number[]} block length of each

(dash: number[][])

Source from the content-addressed store, hash-verified

421 * @return {number[]} block length of each line
422 */
423function getLineBlockLengthX(dash: number[][]): number[] {
424 return map(dash, function (line) {
425 return getLineBlockLengthY(line);
426 });
427}
428
429function getLineBlockLengthY(dash: number[]): number {
430 let blockLength = 0;

Callers 1

setPatternnSourceFunction · 0.85

Calls 1

getLineBlockLengthYFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…