
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@domoinc/multi-line-chart
Advanced tools
Type: color
Default: "#888"
Color of all the labels on the axes
Type: string
Default: "Open Sans"
Font family for axes labels
Type: number
Default: 11
Units: px
Size of the labels
Type: color
Default: "#E3E3E3"
Color of all lines found in the axes
Type: string
Default: "MultiLineChart"
Name of chart for reporting
Type: colorArray
Default: [["#D9EBFD","#B7DAF5","#90c4e4","#73B0D7","#4E8CBA","#31689B"],["#DDF4BA","#BBE491","#A0D771","#80C25D","#559E38","#387B26"],["#FDECAD","#FCCF84","#FBAD56","#FB8D34","#E45621","#A43724"],["#F3E4FE","#DDC8EF","#C5ACDE","#B391CA","#8F6DC0","#7940A1"],["#FCD7E6","#FBB6DD","#F395CD","#EE76BF","#CF51AC","#A62A92"],["#D8F4DE","#ABE4CA","#8DD5BE","#68BEA8","#46998A","#227872"],["#FDDDDD","#FCBCB7","#FD9A93","#FD7F76","#e45850","#c92e25"]]
The primary colors used to represent series data
Type: color
Default: "#E4E5E5"
Color used to indicate elements that are not being highlighted
Type: number
Default: 250
Units: px
Type: string
Default: "hover"
Type of highlighting
Type: boolean
Default: true
Whether or not to have hover effects
Type: select
Default: {"name":"Animate","value":true}
Enable or disable the initial animation
Type: function
Default: "function (d) {\n\t\t return _Chart.a('Y Axis')(d);\n\t\t }"
Value shown on the permanent label
Type: string,function
Default: "none"
stroke-dasharray to use for lines
Type: string
Default: "series"
How to highlight the lines
Type: number,function
Default: "function (d, i) {\n\t\t return 1;\n\t\t }"
Number or array of numbers to use for the line opacities
Type: number
Default: -1
Show label on each point of a series
Type: string
Default: "series"
How to highlight the points
Type: number,function
Default: "function (d, i) {\n\t\t return 0;\n\t\t }"
Function that returns the opacity for the points
Type: function
Default: "function (container) {\n\t\t container.append('circle')\n\t\t .attr({\n\t\t 'r': _Chart.c('radiusSize'),\n\t\t 'cx': _Chart.c('radiusSize'),\n\t\t 'cy': _Chart.c('radiusSize')\n\t\t });\n\t\t }"
Style to use for points
Type: number
Default: 5
Units: px
Radii of the line points
Type: boolean
Default: true
Flag for turning off data validation
Type: select
Default: {"name":"Hide","value":false}
Show or hide colored gradient areas under the lines
Type: select
Default: {"name":"Show","value":true}
undefined
Type: boolean
Default: false
Whether or not to show the tooltip on point trigger
Type: boolean
Default: true
Whether or not to draw the voronoi layer
Type: color
Default: ""
Type: number
Default: 1
Units: px
Width of the line
Type: function
Default: "function (d) {\n\t if (_Chart.c('xScaleType') === 'date') {\n\t return moment(d).format('M/DD/YY');\n\t }\n\t return d;\n\t }"
Label format function for the tick labels.
Type: color
Default: "#555555"
Background color of the tooltip
Type: string
Default: "Open Sans"
Font family for the tooltip
Type: color
Default: "#FFFFFF"
Color of the tooltip text
Type: number
Default: 12
Units: px
Size of the tooltip text
Type: function
Default: "function (d) {\n\t\t return i18n.summaryNumber(_Chart.a('Y Axis')(d)) + ' | ' + _Chart.a('Series')(d);\n\t\t }"
Value shown on the tooltip
Type: boolean
Default: true
Flag for turning off the mimic of illustrator's scale functionality
Type: number
Default: 250
Units: px
Type: select
Default: {"name":"Show","value":true}
Show X Axis
Type: select
Default: {"name":"Show","value":true}
The X axis (not including labels, ticks, and gridlines)
Type: select
Default: {"name":"Hide","value":false}
undefined
Type: select
Default: {"name":"Show","value":true}
undefined
Type: select
Default: {"name":"Hide","value":false}
undefined
Type: string
Default: "string"
Type of xScale
Type: select
Default: {"name":"Show","value":true}
Show Y Axis
Type: select
Default: {"name":"Hide","value":false}
The Y axis (not including labels, ticks, and gridlines)
Type: select
Default: {"name":"Show","value":true}
undefined
Type: select
Default: {"name":"Show","value":true}
undefined
Type: select
Default: {"name":"Hide","value":false}
undefined
Type: select
Default: {"name":"Hide","value":false}
A line perpendicular to the zero value on the y axis
Type: string
Default validate:
function (d) {
return this.accessor(d) !== undefined;
}
Default accessor:
function (line) {
return String(line[2]);
}
Type: number,date,string
Default validate:
function (d) {
var isValid = this.accessor(d) !== undefined;
isValid = isValid && this.accessor(d) !== '';
if (_Chart.c('xScaleType') === 'date') {
isValid = isValid && !isNaN(this.accessor(d).getTime());
}
return isValid;
}
Default accessor:
function (line) {
if (_Chart.c('xScaleType') === 'date') {
return moment(line[0]).toDate();
} else if (_Chart.c('xScaleType') === 'number') {
return Number(line[0]);
} else {
return line[0];
}
}
Type: number
Default validate:
function (d) {
return !isNaN(this.accessor(d));
}
Default accessor:
function (line) {
return Number(line[1]);
}
// Line Name , Date/x-axis, value/y-axis
var dateData = [
['Jan', 1, 'North'],
['Feb', 4, 'North'],
['Mar', 3, 'North'],
['Apr', 4, 'North'],
['Jan', 2, 'South'],
['Feb', 3, 'South'],
['Mar', 4, 'South'],
['Apr', 5, 'South'],
['Jan', 4, 'East'],
['Feb', 3, 'East'],
['Mar', 1, 'East'],
['Apr', 2, 'East']
];
var chart = d3.select("#vis")
.append("svg")
.attr('height', 500)
.attr('width', 500)
.append("g")
.attr("transform", "translate(50,50)")
.chart("MultiLineChart")
.c({
width: 400,
height: 400
});
chart._notifier.showMessage(true);
chart.draw(dateData);
/*----------------------------------------------------------------------------------
// Test Update
----------------------------------------------------------------------------------*/
//setTimeout(function () {
// chart.draw([
// ['North', 'Jan', -1],
// ['North', 'Feb', 4],
// ['North', 'Mar', 3],
// ['North', 'Apr', 4],
// ['South', 'Jan', 2],
// ['South', 'Feb', 3],
// ['South', 'Mar', 4],
// ['South', 'Apr', 5]
// ]);
//}, 2000);
FAQs
MultiLineChart - Domo Widget
We found that @domoinc/multi-line-chart demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.