Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
highcharts-pattern-fill
Advanced tools
Highcharts pattern fill plugin for Highcharts 4. For Highcharts 3.x, the pattern fill version 1.0.x was used.
Highcharts plugin for creating pattern fills in any area, like area charts, chart backgrounds, plot bands or columns.
In version 2, add a defs
object to the options. Create a patterns
array under defs
. Each item in this array represents a pattern. To use a pattern, set the color to url(#id-of-pattern)
. Version 1 worked with oldIE, but the downside is that image files are required for the patterns.
defs: {
patterns: [{
'id': 'custom-pattern',
'path': {
d: 'M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11',
stroke: Highcharts.getOptions().colors[0],
strokeWidth: 3
}
}]
},
// ... the rest of your chart data here ...
series: [{
'data': [1, 2, 3, 4],
'color': 'url(#custom-pattern)'
}]
Versions 1.x are compatible with Highcharts 3. Versions 2.x are compatible with Highcharts 4.
pattern
: The URL for a pattern image filewidth
: The width of the image fileheight
: The height of the image filecolor1
: In oldIE, bright colors in the pattern image are replaced by this color. Not yet implemented in SVG.color2
: In oldIE, dark colors are replaced by this.FAQs
Highcharts pattern fill plugin for Highcharts 4. For Highcharts 3.x, the pattern fill version 1.0.x was used.
The npm package highcharts-pattern-fill receives a total of 9,701 weekly downloads. As such, highcharts-pattern-fill popularity was classified as popular.
We found that highcharts-pattern-fill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.