Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
arc-hydro-components
Advanced tools
A collection of components designed to be used to connect to hydrological data and services
A collection of components designed to be used to connect to hydrological data and services
npm install --save arc-hydro-components
import { HydroChart } from 'arc-hydro-components';
...
const ChartComponent = (mapView: MapView) => {
const preference = {
inputId: <string>,
legendOn: true | false,
scrollbarOn: true | false,
yaxisTitleOn: true | false,
titleOn: true | false,
};
const localizeStrings = {
overviewMessage: "Please select a reach with data to view its forecasted flows.",
yAxisTitle: "Stream Flow (cms)",
xAxisTitle: "",
loadingText: "Collecting forecast data...",
forecastLabel: "Forecast",
uncertaintyLabel: "Uncertainty",
historicalLabel: "Historical",
yearLabel: "Yr",
title: "Stream Flow (cms)"
}
const theme = {
default: {
forecast: '#004874',
uncertainty: 'rgba(117, 117, 117, 0.35)',
bands: {
2: 'rgba(75, 172, 205, 0.4)',
5: 'rgba(247, 210, 63, 0.4)',
10: 'rgba(245, 128, 64, 0.4)',
25: 'rgba(239, 71, 72, 0.4)',
50: 'rgba(144, 83, 161, 0.4)',
},
timeExtent: '#b30000',
},
};
return(
<div
style={{
display: 'flex',
justifyContent: 'center',
height: '100%',
}}
>
<HydroChart
mapView={view}
localizeStrings={localizeStrings}
theme={theme.default}
model={waterModel}
preference={preference}
/>
</div>
)
}
FAQs
A collection of components designed to be used to connect to hydrological data and services
We found that arc-hydro-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.