(size: number, vScale: BarScale, actualBase: number)
| 298 | } |
| 299 | |
| 300 | function barSign(size: number, vScale: BarScale, actualBase: number) { |
| 301 | if (size !== 0) { |
| 302 | return sign(size); |
| 303 | } |
| 304 | return (vScale.isHorizontal() ? 1 : -1) * (vScale.min >= actualBase ? 1 : -1); |
| 305 | } |
| 306 | |
| 307 | function borderProps(properties: BarProperties) { |
| 308 | let reverse: boolean, start: string, end: string, top: string, bottom: string; |
no test coverage detected