MCPcopy Create free account
hub / github.com/SPLWare/esProc / getXPixel

Method getXPixel

src/main/java/com/scudata/chart/Engine.java:941–943  ·  view source on GitHub ↗

计算val值位于图形中的像素位置,val大于1时,直接表示像素位置; 0<val<=1时,表示相对于当前图形宽度的比例位置; val<1时,表示相对于右下角时的反向位置 @param val 待转换的数值 @return 转换后的横向图形绝对位置像素值,采用实数精度,避免累积误差

(double val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

getNumericPointMethod · 0.80
getWidthMethod · 0.80
drawBackMethod · 0.80
drawADotMethod · 0.80
getPointMethod · 0.80
getLeftXMethod · 0.80
getRightXMethod · 0.80
drawDataMethod · 0.80

Calls 2

getPixelMethod · 0.95
getWMethod · 0.95

Tested by

no test coverage detected