Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@cerner/terra-graphs-docs
Advanced tools
A react based dev-site that has documentation and example graphs
For documentation on code: JSDocs
Constant | Value |
---|---|
BLUE | #176ba0 |
GREEN | #076e00 |
ORANGE | #b54900 |
PINK | #ae0868 |
PURPLE | #9c19a3 |
YELLOW | #ffc20a |
Constant | Value |
---|---|
LIGHT_BLUE | #008fe0 |
LIGHT_GREEN | #4b9b1c |
LIGHT_ORANGE | #e46511 |
LIGHT_PINK | #e16092 |
LIGHT_PURPLE | #bc70c7 |
LIGHT_YELLOW | #ffda6c |
Constant | Value |
---|---|
BLACK | #1c1f21 |
GREY | #a7aaab |
LAVENDER | #8374c2 |
WHITE | #ffffff |
Note:
COLORS.YELLOW
and COLORS.LIGHT_YELLOW
will eventually be removed from the color palette in a future major release.COLORS.YELLOW
or COLORS.LIGHT_YELLOW
, please switch to a different color.Used via Carbon.helpers.SHAPES.DARK
Constant | Rendered as |
---|---|
CIRCLE | |
CROSS | |
DIAMOND | |
RHOMBUS | |
SQUARE | |
TEAR_DROP | |
TEAR_ALT | |
TRIANGLE | |
TRIANGLE_DOWN | |
VERTICAL_BAR | |
X |
Used via Carbon.helpers.SHAPES.LIGHT
Constant | Rendered as |
---|---|
CIRCLE | |
CROSS | |
DIAMOND | |
RHOMBUS | |
SQUARE | |
TEAR_DROP | |
TEAR_ALT | |
TRIANGLE | |
TRIANGLE_DOWN | |
VERTICAL_BAR | |
X |
Carbon supports custom shapes as well! For more information on custom icon support, refer Carbon Shape
Language |
---|
de_DE |
en_AU |
en_CA |
en_GB |
en_US |
es_ES |
fr_FR |
ja_JP |
pt_BR |
nl_NL |
sv_SE |
Consumers can provide a JSON for any locale, the format needs to be:
const locale_custom = {
decimal: ",",
thousands: ".",
grouping: [3],
currency: ["", " €"],
dateTime: "%A, der %e. %B %Y, %X",
date: "%d.%m.%Y",
time: "%H:%M:%S",
days: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag"
],
shortDays: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
months: [
"Januar",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember"
],
shortMonths: [
"Jan",
"Feb",
"Mrz",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez"
],
noData: "No Data"
};
Resources on locale based tick formatting:
timeseries
but the x-axis bounds are default
default
but the x-axis bounds are timeseries
Legend
only loads if the data-set label is provided
content
using Graph API will have the ability to load data within graph and not show legend itemGraph
and Legend
can be loaded in a separate containers when bindTo
and bindLegendTo
element id's are provided respectivelyy2
axis is enabled, then the data-sets expect the yAxis: "y2"
propertyonClick
property needs to be a callback functionlocale
is provided, ticks.format
is expected to be provided as well otherwise there is no effect on the graph itself.values
will not be subjected to any kind of pre-processing before generating the graph. values
co-ordinates are expected to be linear/sorted.FAQs
A react based dev-site that has documentation and example graphs
We found that @cerner/terra-graphs-docs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.