Answer the question
In order to leave comments, you need to log in
How to get data from data attribute?
Hello!
Making a chart on chartist.js
Trying to get coordinates from data:
<td><a data-labels="700, 1500, 1300, 1000, 220" data-series="2000, 1700, 1500, 1300, 1100, 1000, 800, 600, 500">ВР 80-75-2,2-В-0,37/2730</a></td>
var series = $(this).data('data-series');
var labels = $(this).data('data-labels');
new Chartist.Line('.chart', {
labels: labels,
series: [
series
]
}, {
fullWidth: true,
chartPadding: {
right: 40
}
});
Answer the question
In order to leave comments, you need to log in
The power supply has not yet been decided here, I think 600-700W that would work at half strength and not make much noise, if there is some quality and inexpensive one in mind, write
Asrock - guano. Despite the fact that you have sane money for other components, it’s not worth saving 3 kopecks on your mother.
Since you are assembling a machine for games, 240GB ssdshki will not be enough - modern games now sometimes eat up 100GB each (for example, fresh Atlas), so if you don’t want to “juggle” games between ssd / hdd, then you should immediately think about a 480GB + model
$(this).data("series");
Even I, a terrible jQuery hater, know this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question