Comments (14)
где ещё не хватает статистики скорости генерации страниц?
from uonline.
Хочу огромную такую хуйню с графиками за 24 часа. Но это в будущем.
from uonline.
нет ничего более будущего, чем настоящее..)
запилим.
итак, это удел отдельной таблички.
в неё будет писаться каждый доступ к нашему index.php
во время записи, возможно, будем чистить табличку от >24ч давности записей. или не будем, вынести в конфиг это.
from uonline.
А сделал бы ты для начала #70, #69, #68 и #67.
from uonline.
Гpафики
from uonline.
Quick start
<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
// Load the Visualization API and the piechart package.
google.load('visualization', '1.0', {'packages':['corechart']});
// Set a callback to run when the Google Visualization API is loaded.
google.setOnLoadCallback(drawChart);
// Callback that creates and populates a data table,
// instantiates the pie chart, passes in the data and
// draws it.
function drawChart() {
// Create the data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'Topping');
data.addColumn('number', 'Slices');
data.addRows([
['Mushrooms', 3],
['Onions', 1],
['Olives', 1],
['Zucchini', 1],
['Pepperoni', 2]
]);
// Set chart options
var options = {'title':'How Much Pizza I Ate Last Night',
'width':400,
'height':300};
// Instantiate and draw our chart, passing in some options.
var chart = new google.visualization.PieChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<!--Div that will hold the pie chart-->
<div id="chart_div"></div>
</body>
</html>
from uonline.
Lines
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['x', 'Cats', 'Blanket 1', 'Blanket 2'],
['A', 1, 1, 0.5],
['B', 2, 0.5, 1],
['C', 4, 1, 0.5],
['D', 8, 0.5, 1],
['E', 7, 1, 0.5],
['F', 7, 0.5, 1],
['G', 8, 1, 0.5],
['H', 4, 0.5, 1],
['I', 2, 1, 0.5],
['J', 3.5, 0.5, 1],
['K', 3, 1, 0.5],
['L', 3.5, 0.5, 1],
['M', 1, 1, 0.5],
['N', 1, 0.5, 1]
]);
// Create and draw the visualization.
new google.visualization.LineChart(document.getElementById('visualization')).
draw(data, {curveType: "function",
width: 500, height: 200,
vAxis: {maxValue: 10}}
);
}
from uonline.
Вообще: https://developers.google.com/chart/?hl=ru
Quick start: https://google-developers.appspot.com/chart/interactive/docs/quick_start
Lines: https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart
Вживую: https://code.google.com/apis/ajax/playground/?type=visualization#line_chart
from uonline.
Взялся - доделывай, хули. Хотя бы графики.
from uonline.
не слышно критики
from uonline.
Правильно, я даже не смотрел. Как выкатим очередную версию - гляну.
from uonline.
Единиц измерения не вижу. Дат и времён около цифр не вижу.
from uonline.
Будем считать, что пока хватит. Надеюсь, в будущем мы перейдём на New Relic, и нам больше не придётся писать подобную хуету.
from uonline.
Предсказанное восемь месяцев назад сбылось: мы действительно перешли на New Relic.
from uonline.
Related Issues (20)
- Show migration timings
- asyncawait HOT 1
- Вынести данные миграций из lib
- mocha-fivemat-reporter
- queryUtils -> отдельный пакет в npm
- require-covered -> test-utils
- locparse -> crawler + parser
- Оптимизировать медленные тесты
- Привести все тесты в соответствие со стилем Mocha
- Chai, плагины
- Интерфейс к СУБД на промисах HOT 1
- Валидация форм без JS
- Winston
- Либа для обхода папок
- Бетономешалки и заборы
- pg-promise
- Тесты для мидлварей
- Тесты со стороны клиента
- then-redis
- Автоопределение пола по никнейму
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uonline.