Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@domoinc/axis
Advanced tools
<img src=media/widget.png height=500 width=500>
Type: boolean
Default: false
Adds the baseline path above the labels
Type: boolean
Default: false
Flag to show vertical or horizontal grid lines.
Type: boolean
Default: true
Flag to show the text labels on the axis
Type: boolean
Default: false
Flag to show the tick lines on the axis.
Type: boolean
Default: false
Makes the gridline corresponding to the zero tick show, and have increased stroke width
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: 0
Units: px
Letter spacing for the 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: Axis
Name of chart for Reporting.
Type: number
Default: 750
Units: ms
Duration of the animation
Type: number
Default: 250
Units: px
Type: boolean
Default: true
Try and show an appropriate number of ticks given available space.
Type: boolean
Default: true
Truncate the labels so they do not over lap.
Type: number
Default: 50
Type: string
Default: bottom
Sets the orientation of the axis. Options: bottom, top, left, right
Type: scale
Default: function scale(x) { return output(x); }
d3 scale object for the axis.
Type: boolean
Default: true
Flag for turning off data validation
Type: boolean
Default: false
undefined
Type: string
Default: Open Sans
Type: function
Default: function (d) { return i18n.summaryNumber(d); }
Label format function for the tick labels.
Type: number
Default: 7
Padding between the tick line and text.
Type: number
Default: 5
Size of the tick line.
Type: number
Default: 40
Space between each tick.
Type: color
Default: #555555
Type: color
Default: #FFFFFF
Type: number
Default: 14
Units: px
undefined
Type: boolean
Default: true
Flag for turning off the mimic of illustrator's scale functionality
Type: number
Default: 250
Units: px
Type: number
Default: 0
The x coordinate for the axis.
Type: number
Default: 0
The y coordinate for the axis.
var aHeight = 400;
var aWidth = 400;
// var ascale = d3.scale.ordinal().domain(d3.range(0, 1000)).rangePoints([0,aWidth], 0);
// var ascale = d3.scale.linear().domain([-1000, 1000]).range([0, aWidth]);
var ascale = d3.time.scale().domain([new Date('2014-01-11'), new Date('2014-12-29')]).range([0,500]);
// var ascale = d3.scale.ordinal().domain(['A','B','C']).rangeRoundBands([0, aWidth], 0.25);
//Initialze the widget
var chart = d3.select("#vis")
.append("svg")
.attr('width', 500)
.attr('height', 500)
.append("g")
.attr("transform", "translate(50,250)")
.chart("Axis")
.c({
'width': aWidth,
'height': aHeight,
'scale': ascale,
//'addGridlines': true,
// 'addGridlines': false,
//'addZeroline': true,
// 'addZeroline': false,
//'addTicks': true,
// 'addTicks': false,
//'addBaseline': true,
// 'addBaseline': false,
//'tickSize': 5,
// 'orient': 'top',
'orient': 'bottom',
// 'orient': 'top',
// 'orient': 'right',
showTooltip: true,
})
//Render the chart with data
chart._notifier.showMessage(true);
chart.draw();
// var orient = 'top';
// var orient = 'bottom';
// var orient = 'left';
var orient = 'right';
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': false,
// 'addZeroline': true,
// 'addTicks': true,
// })
// chart.draw();
// }, 500)
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': true,
// 'addZeroline': false,
// 'addTicks': true,
// })
// chart.draw();
// }, 500)
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': true,
// 'addZeroline': true,
// 'addTicks': false,
// })
// chart.draw();
// }, 500)
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': false,
// 'addZeroline': false,
// 'addTicks': true,
// })
// chart.draw();
// }, 500)
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': true,
// 'addZeroline': false,
// 'addTicks': false,
// })
// chart.draw();
// }, 500)
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': false,
// 'addZeroline': true,
// 'addTicks': false,
// })
// chart.draw();
// }, 500)
// setTimeout(function() {
// chart.c({
// 'orient': orient,
// 'addGridlines': false,
// 'addZeroline': false,
// 'addTicks': false,
// })
// chart.draw();
// }, 500)
FAQs
Axis - Domo Widget
We found that @domoinc/axis demonstrated a not healthy version release cadence and project activity because the last version was released 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.