Code Monkey home page Code Monkey logo

bluff's People

Contributors

jcoglan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bluff's Issues

Feature request: implement method to set background colors outside theme definition

It's usual for charting libraries to have some method to set graph background color in an independent way.

AFAIU in Bluff the only way to set background colors is through the set_theme() method were the user has to set several other colors too.

Could you implement a method to set the graph background color indepedently?

TIA,

Rodrigo Severo

Update version info in release 3.6.1

Bluff release 3.6.1 has internal version info of 3.6.

Could you please update it.

I need an updated version info so my code can tell if the version running has certain bug fixed or not.

TIA,

Rodrigo Severo

blank graph in IE

I'm having a problem getting Bluff to work in IE (8).

An empty space is displayed instead of the graph.

Probably my silly fault, but everything seems to be exactly in place as it should be. Clean install of Bluff on an otherwise standard minimal HTML page.

The page displays fine in Safari, Firefox, Chrome, (on my Mac) but not IE on a PC.

The Bluff homepage (http://bluff.jcoglan.com/) displays the graph just fine on the same PC's I've tried testing on.

I copied the script tags and the bluff graph code directly from the Bluff homepage as well.

Strange line numbers

I get wrong line number values with the following code:

<script type="text/javascript"> window.onload = function() { var g = new Bluff.Line('graph', '190x150'); g.tooltips = true; g.theme_pastel(); g.legend_font_size = 46; g.marker_font_size = 46; g.dot_radius = 15; g.data("CHF", ['213.89', '216.3', '215.43', '211.63', '210.55', '211.11', '208.72', '206.02' ]); g.data("EUR", ['273.92', '273.73', '273.75', '271.45', '270.35', '269.66', '268.64', '266.85' ]); g.data("USD", ['196.18', '195.02', '194.49', '191.67', '190.04', '190.06', '190.21', '188.45' ]); g.labels = {0: '16', 1: '17', 2: '18', 3: '21', 4: '22', 5: '23', 6: '24', 7: '25' }; g.draw(); }; </script>

The first line is good (188.4), but the others are like this: 21,188.4

Also the tooltips displaying wrong values (CHF have the EUR values).

Seems like decimal point problem.

Give tooltip bullets a class name

I've been playing with the trunk code, and I found that I didn't really want the bullet in my tooltip and ended up removing it from the source code. I think it would be good to give that span a class so that people can just hide it with css. Aside from that, the tooltips have been spectacular. Thanks.

Bar Chart Markers Overlap

Hi JCoglan,
when I draw a Bar chart and I define a X axis series with string long ('Element Number one','Element Number two',etc.) the x series labels overlap.
Is there a way to set "Vertical" the X axis series label instead of horizontal?
Thanks

Tooltips question

Is it possible to add additonal text to the tooltips? Right now, if you hover a data point, the tooltip displays the heading and number value. I'd like to add some additional text or even better a bit of HTML when someone hovers a data point.

Thanks.

How to turn off automatic transposition detection?

Please take a look at these 2 graphs: http://pastebin.ca/1993553 and http://pastebin.ca/1993554

Despite having two data sets with completely different orientation they result in the same graph because of Bluff's automatic transpose detection system.

In all other charting libraries I have been using, one of these two graphs would look like http://imagebin.ca/view/iziuFEdG.html

Is it possible to create a new configuration setting for Bluff that would turn off automatic transposing detection? Obviously the default value of this new setting would be "automatic" to preserve current behaviour but the other two options for this setting could be "rows as data series" and "columns as data series".

With such a new option it would get much easier to automate Bluff usage.

TIA,

Rodrigo

EDIT: Using pastes which will last longer.

New release with fixes for closed issues 9, 10 and 11

Could you please make a new Bluff release with the fixes for issues 9, 10 and 11?

I tried to apply the patchs to test them but I couldn't apply some as my code seems to be different than the one you based your patchs on.

TIA,

Rodrigo Severo

Setting text size using string ("8px") on IE give a "Invalid argument" error on line 2534. Using number (8) works fine.

In IE 8 (but I bet this problem repeats itself on other IE versions too) I get a "Invalid argument" error on line 2534 of bluff-src.js if I try to set either title_font_size, or marker_font_size to a string like "8px".

If I set this properties to the number 8, it works fine.

There is a simple page where you can see the problem at http://pastebin.com/JJkMdANx.

If you change line 31 from "8px" to 8, the example works in IE 8.

How to draw Bar and Line in a single chart?

Bluff is a wonderful library for charting but how can I draw the first series data as Bar and the others as Line in a single chart? Is there some plan to support that? Great thanks.

Black lines around bars in bar graph

I'm using the latest trunk and I'm noticing a black line around the bar graphs, but I'm not sure how to turn that off. Is there a setting for this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.