Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
26
frontend/node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
generated
vendored
Normal file
26
frontend/node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import { svgPropertiesNoEventsFromUnknown } from './svgPropertiesNoEvents';
|
||||
export function getRadiusAndStrokeWidthFromDot(dot) {
|
||||
var props = svgPropertiesNoEventsFromUnknown(dot);
|
||||
var defaultR = 3;
|
||||
var defaultStrokeWidth = 2;
|
||||
if (props != null) {
|
||||
var r = props.r,
|
||||
strokeWidth = props.strokeWidth;
|
||||
var realR = Number(r);
|
||||
var realStrokeWidth = Number(strokeWidth);
|
||||
if (Number.isNaN(realR) || realR < 0) {
|
||||
realR = defaultR;
|
||||
}
|
||||
if (Number.isNaN(realStrokeWidth) || realStrokeWidth < 0) {
|
||||
realStrokeWidth = defaultStrokeWidth;
|
||||
}
|
||||
return {
|
||||
r: realR,
|
||||
strokeWidth: realStrokeWidth
|
||||
};
|
||||
}
|
||||
return {
|
||||
r: defaultR,
|
||||
strokeWidth: defaultStrokeWidth
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue