Is it possible to change the linear stroke of the marking? I already know that you can change its color:
markings: [ { yaxis: { from: 0, to: 0 }, color: "#000"}, { xaxis: { from: 0, to: 0 }, color: "#000" }],
I used this solution to make my axis without a background grid line: display-x-axis-and-y-axis-lines-with-out-the-grid-lines-using-flot
Just add a parameter:
markings: [ { yaxis: { from: 0, to: 0 }, color: "#000"}, { xaxis: { from: 0, to: 0 }, color: "#000" }], markingsLineWidth: 2.5, //number
Along with the markingsLineWidth parameter, which applies to all markings, you can also define lineWidth for each marking:
markingsLineWidth
lineWidth
markings: [ { yaxis: { from: 0, to: 0 }, color: "#000", lineWidth: 5}, // speficic value { xaxis: { from: 0, to: 0 }, color: "#000" }], markingsLineWidth: 2.5, // default value
Source Code Links:Default value: markingsLineWidth: 2By marking value: var lineWidth = m.lineWidth || options.grid.markingsLineWidth; var lineWidth = m.lineWidth || options.grid.markingsLineWidth;
markingsLineWidth: 2
var lineWidth = m.lineWidth || options.grid.markingsLineWidth;
Source: https://habr.com/ru/post/1439220/More articles:Creating an application for androiding the visual spectrum - androidHandling the mouse for multiple controls in the same method - c #How to read all the contents of a text file in batch mode - batch-filestruts2 Asynchronous action - servlet-3.0How to check if a port is accessible during installation using Inno Setup? - installationHow to iterate over urlparse.urlsplit () result Python - pythonHow to implement supplies in a Windows Store app? - windows-8Service Level in Codeigniter 2 with Doctrine 2 - phpwhy classic scripts or ASP requests are run sequentially for each client - performanceGetting qmake to run my code generator correctly - c ++All Articles