Created
June 12, 2014 13:13
-
-
Save edueo/d1b068dbe4138fea5736 to your computer and use it in GitHub Desktop.
Disu protótipo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$disu = new Disu; | |
$disu->setLocale('en_US'); // Internacionalização | |
$disu->jsGraphLibrary('d3'); // Será desenvolvido usando D3 como padrão, mas futuramente quem quiser usar RaphaelJs, ou qualquer outra lib JS, poderá criar a sua implementação. | |
$disu->renderGraph('daily', 15); // Renderiza gráfico de acessos diário a cada 15 minutos | |
$disu->renderGraph('monthly'); // Renderiza gráfico de acessos do mês | |
$disu->renderGraph('semiannually'); // Renderiza gráfico de acessos do semestre | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment