$(document).ready(function(){
var degerVal = 18;
$('#aylik').text(degerVal);
$('#rezerv').text(100-degerVal);
$("slider_value").text(degerVal);
google.charts.load('current', {
packages: ['corechart']
}).then(function () {
var data = google.visualization.arrayToDataTable([
['', 'Views'],
['A', degerVal],
['B', 100-degerVal]
]);
var options = {
legend: 'none',
pieSliceText: 'percentage',
chartArea: {'width': '80%', 'height': '80%'},
legend: 'none',
backgroundColor: {fill: 'transparent'},
pieSliceBorderColor: 'transparent',
colors: ['#0000FF', '#157C3B']
};
var chart = new google.visualization.PieChart(document.getElementById('chart_div'));
chart.draw(data, options);
});
$(document).on('input change', '#myRange', function() {