Skip to content

Commit

Permalink
aggiornato flow e jquery ui
Browse files Browse the repository at this point in the history
  • Loading branch information
fiste788 committed Nov 16, 2012
1 parent 7b30ee5 commit c48e70a
Show file tree
Hide file tree
Showing 90 changed files with 1,316 additions and 14,578 deletions.
2 changes: 0 additions & 2 deletions js/flot/.gitignore

This file was deleted.

31 changes: 4 additions & 27 deletions js/flot/API.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,15 @@ Customizing the axes

color: null or color spec
tickColor: null or color spec
font: null or font spec object


min: null or number
max: null or number
autoscaleMargin: null or number

transform: null or fn: number -> number
inverseTransform: null or fn: number -> number

ticks: null or number or ticks array or (fn: axis -> ticks array)
ticks: null or number or ticks array or (fn: range -> ticks array)
tickSize: number or array
minTickSize: number or array
tickFormatter: (fn: number, object -> string) or string
Expand Down Expand Up @@ -223,20 +222,6 @@ you can also set the color of the ticks separately with "tickColor"
(otherwise it's autogenerated as the base color with some
transparency).

You can customize the font used to draw the labels with CSS or
directly with "font". The default value of null means that the font is
read from the font style on the placeholder element (80% the size of
that to be precise). If you set it directly with "font: { ... }", the
format is like this:

{
size: 11,
style: "italic",
weight: "bold",
family: "sans-serif",
variant: "small-caps"
}

The options "min"/"max" are the precise minimum/maximum value on the
scale. If you don't specify either of them, a value will automatically
be chosen based on the minimum/maximum data values. Note that Flot
Expand Down Expand Up @@ -679,10 +664,6 @@ Customizing the grid
mouseActiveRadius: number
}

interaction: {
redrawOverlayInterval: number or -1
}

The grid is the thing with the axes and a number of ticks. Many of the
things in the grid are configured under the individual axes, but not
all. "color" is the color of the grid itself whereas "backgroundColor"
Expand All @@ -696,7 +677,8 @@ above the data or below (below is default).

"labelMargin" is the space in pixels between tick labels and axis
line, and "axisMargin" is the space in pixels between axes when there
are two next to each other.
are two next to each other. Note that you can style the tick labels
with CSS, e.g. to change the color. They have class "tickLabel".

"borderWidth" is the width of the border around the plot. Set it to 0
to disable the border. You can also set "borderColor" if you want the
Expand Down Expand Up @@ -802,11 +784,6 @@ If you want to disable interactivity for a specific data series, you
can set "hoverable" and "clickable" to false in the options for that
series, like this { data: [...], label: "Foo", clickable: false }.

"redrawOverlayInterval" specifies the maximum time to delay a redraw
of interactive things (this works as a rate limiting device). The
default is capped to 60 frames per second. You can set it to -1 to
disable the rate limiting.


Specifying gradients
====================
Expand Down
20 changes: 10 additions & 10 deletions js/flot/FAQ.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Q: How much data can Flot cope with?
A: Flot will happily draw everything you send to it so the answer
depends on the browser. The excanvas emulation used for IE (built with
VML) makes IE by far the slowest browser so be sure to test with that
if IE users are in your target group (for large plots in IE, you can
also check out Flashcanvas which may be faster).
if IE users are in your target group.

1000 points is not a problem, but as soon as you start having more
points than the pixel width, you should probably start thinking about
Expand All @@ -26,11 +25,10 @@ conversion automatically.

Q: Can I export the graph?

A: You can grab the image rendered by the canvas element used by Flot
as a PNG or JPEG (remember to set a background). Note that it won't
include anything not drawn in the canvas (such as the legend). And it
doesn't work with excanvas which uses VML, but you could try
Flashcanvas.
A: This is a limitation of the canvas technology. There's a hook in
the canvas object for getting an image out, but you won't get the tick
labels. And it's not likely to be supported by IE. At this point, your
best bet is probably taking a screenshot, e.g. with PrtScn.


Q: The bars are all tiny in time mode?
Expand Down Expand Up @@ -58,9 +56,11 @@ libraries") for details.

Q: Flot doesn't work with [insert name of Javascript UI framework]!

A: Flot is using standard HTML to make charts. If this is not working,
it's probably because the framework you're using is doing something
weird with the DOM or with the CSS that is interfering with Flot.
A: The only non-standard thing used by Flot is the canvas tag;
otherwise it is simply a series of absolute positioned divs within the
placeholder tag you put in. If this is not working, it's probably
because the framework you're using is doing something weird with the
DOM, or you're using it the wrong way.

A common problem is that there's display:none on a container until the
user does something. Many tab widgets work this way, and there's
Expand Down
2 changes: 1 addition & 1 deletion js/flot/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2007-2011 IOLA and Ole Laursen
Copyright (c) 2007-2009 IOLA and Ole Laursen

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
49 changes: 0 additions & 49 deletions js/flot/NEWS.txt
Original file line number Diff line number Diff line change
@@ -1,52 +1,3 @@
Flot x.x
--------

API changes:

Axis labels are now drawn with canvas text with some parsing to
support newlines. This solves various issues but also means that they
no longer support HTML markup, can be accessed as DOM elements or
styled directly with CSS. Some older browsers lack this function of
the canvas API (this doesn't affect IE); if this is a problem, either
continue using an older version of Flot or try an emulation helper
such as canvas-text or Flashcanvas.

The base and overlay canvas are now using the CSS classes "flot-base"
and "flot-overlay" to prevent accidental clashes (issue 540).


Changes:

- Canvas text support for labels (sponsored by YCharts.com).

- Support for setting the interval between redraws of the overlay
canvas with redrawOverlayInterval (suggested in issue 185).

- Support for multiple thresholds in thresholds plugin (patch by
Arnaud Bellec, issue 523).

- Support for plotting categories/textual data directly with new
categories plugin.

- Tick generators now get the whole axis rather than just min/max.

Bug fixes

- Fix problem with null values and pie plugin (patch by gcruxifix,
issue 500).
- Fix problem with threshold plugin and bars (based on patch by
kaarlenkaski, issue 348).
- Fix axis box calculations so the boxes include the outermost part of
the labels too.
- Fix problem with event clicking and hovering in IE 8 by updating
Excanvas and removing previous work-around (test case by Ara
Anjargolian).
- Fix issues with blurry 1px border when some measures aren't integer
(reported by Ara Anjargolian).
- Fix bug with formats in the data processor (reported by Peter Hull,
issue 534).


Flot 0.7
--------

Expand Down
Loading

0 comments on commit c48e70a

Please sign in to comment.