37 comments found.
Hi,
I purchased this nice product, however i do have some questions:
How can i dynamically adjust the hight/values of the bars. This is now done using hardcoded px. Is there a possibility to adjust this dynamically, e.g., using tags of other software plugins?
Cheers, R.
Hi,
yes it is possible but it requires custom modification. If you are interested please contact us via email form.
Regards
Hi,
Will this script be able display data from a mysql database?
Hi,
The scipt is not prepared for displaying data from mysql database but you can make this on your own. Sizes of the graphs are defined in css styles, so you need to determine them on the basis of mysql data and then generate the graph.
Very nice. Would i be able to use these graphs in Cueburst (I sell it on here) Or would i need an extended license? I didn’t see an option…
Thanks, Cueburst
You need an extended license. Please contact us via e-mail.
Any plans for an extended license to be usable in softwares?
If you would like to purchase my item on an extended license, please send me an e-mail. I can enable extended licence for a while.
really nice but on screen shot 6 the lowest one should have the lighter circle on top of the darker…
I made this dynamic in my .NET project. It would be similar code for PHP .
To make the width of the chart dynamic I did this:
// The tuple is : QuestionName, Value, Value formatted
public static string generateBarGraph(string graphId, string questionName, List<Tuple<string, double, string>> graphList)
{
string str = "<!-- css bar graph -->"
+ " <div id=\"" + graphId + "\" class=\"css_bar_graph\" style=\"width: " + (graphList.Count() * 104).ToString() + "px\">"
Then
graphList.ForEach(a =>
{
str += "<li>" + a.Item1 + "</li>";
});
Then
int counter = 1;
graphList.ForEach(a =>
{
str += "<li class=\"bar nr_" + counter.ToString() + " blue\" style=\"height: "
+ Convert.ToInt32(Math.Floor((250d * a.Item2))).ToString()
+ "px;\"><div class="\\"top\"></div><div class="\\"bottom\"></div><span>" + a.Item3 + "</span>";
counter++;
});
Hi altiux I was able to scale the size of the graph like this in the css: div.css_bar_graph {
-webkit-transform: scale(.80); -moz-transform: scale(.80); transform:scale(.80);
When I added those I got the graph to show up at 80% of it’s original size.
Is there an easy way to resize the graph size. I have been trying to make it smaller.
I totally disliked the CSS approach for setting the values. It looks gorgeous, but usage is near to 0. Sorry
Is their a way to get the charts to hold 30 bars for 30 day statistics without having to go through and adding CSS values for nr_13 – nr_30?
This is for example 6 by the way.
Thanks.
In this type of graph due to specifically bar positioning in CSS there is no other (easier) solution.
Another option is to move “left” value from CSS (nr_x class) to HTML – embed it inline by placing it as an attribute to LI tag.
Thanks for the reply. I ended up getting rid of all the nr_x classes and replaced it with one with the default left property with the 110px value. I then set the style element for each li I used to have a 55px (55n, where n = the bar number) margin from the left. It seemed to work in the browsers I tested, so I think it suffices.
Thanks for an awesome product! 
Seems like a great idea. I would like to see it in action 
Sorry for the late reply. Keep forgetting about giving you a link. Here is one of the graphs in action, it’s all dynamic, but the 30 day graph should appear as soon as it has more than 10 days worth of stats (about 3 days from now). http://clicktotweet.me/te954dzC+
Best Regards, Imad Jomaa.
I seem to be getting quite a handful of visitors from CodeCanyon because of the link I’ve posted here. The graphs that the service I link to uses does not use this product anymore, and it hasn’t used it for a while. I don’t want anyone to be found misled by thinking the product you are seeing from my link is exactly this one.
All the best, Imad Jomaa.
Animation support would be very, very cool indeed.
Looks nice
@cfoinfo If you wanted to do this with arrays you could do something like this:
$data = array('Jan' => 20, 'Feb' => 12, 'Mar' => 23);
etc etc.
Hope this helps 
This looks amazing!! Nice work!
Thank you! 
If I’m populating the X and Y axes from php arrays how do I specify the height of the bars? It looks like you have to do this explicitly when you don’t know what data will populate the X and Y axes. Or is this not intended to be populated from a database query just hardcoded in the html?
Please look at JonnySnip3r comment 
Very nice presentation and I would consider using it but would like to see examples of what it would look like in IE 7 and IE8 . You indicate no shadows or rounded corners but I am assuming that does not apply to the chart tubes, or does it? Any screen shots or links that I can view with IE 7 or 8 would be appreciated as many of my clients still use that browser (unfortunately). thanks
By rounded corners I mean top and bottom ovals. IE7 -8 is supported but without that 3D style.
Very nice
Would be nice to have the initial load do a jquery animation or something from 0 to the height for each bar
will there also be a horizontal version?
Thank you for your purchase. As for jquery animation – I agree it would be nice to implement but I’m not sure if it’s appropriate category for it because we go beyond pure css.
New versions will be eventually added but it depends on the popularity of this file.
Please redownload – file has been updated (IE7 bug removed).
Wow. Really nice.
Thanks!