Posts

Showing posts from March, 2014

install button not working in ubuntu software center problem solved

my operating system is  ubuntu version is 12.04 and i was facing the problem in software center.The install button was not working in ubuntu 12.04 software center.short code helped me solve the problem. solution:  Type short code in terminal   sudo software-center

php progress bar with percentage

The php progress bar with percentage varies by changing php variable value. <?php $percentage='10%';?> <style> .progress{ border: 1px solid black; position:relative; width:500px; } .bar{ background-color: #00ff00; position:absolute; } .percent{ position:absolute; left:200px; } </style> <div class="progress"> <div class="bar" style="width:<?php echo $percentage;?>">&nbsp;</div> <div class="percent"><?php echo $percentage;?></div> &nbsp; </div>

mutiple line graph using Highchart

Image
High chart is the JavaScript library to create graph from static or dynamic data. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript"> $(function () { $('#container').highcharts({ title: { text: 'did for sale graph', x: -20 //center }, xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] }, yAxis: { title: { text: 'number of calls per did' }, plotLines: [{ value: 0, width: 1, color: '#808080'