Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
7a799bae
Commit
7a799bae
authored
Mar 03, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated NEWS for axis text changes.
parent
0df6bc4a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
NEWS.md
NEWS.md
+20
-6
No files found.
NEWS.md
View file @
7a799bae
...
@@ -17,12 +17,26 @@ standard strftime specifiers, plus one nonstandard specifier for quarters.
...
@@ -17,12 +17,26 @@ standard strftime specifiers, plus one nonstandard specifier for quarters.
Additionally, if a strftime function is found in the Date object's prototype,
Additionally, if a strftime function is found in the Date object's prototype,
it will be used instead of the built-in formatter.
it will be used instead of the built-in formatter.
Axis labels are now drawn with canvas text with some parsing to support
Axis tick labels now use the class 'flot-tick-label' instead of 'tickLabel'.
newlines. This solves various issues but also means that they no longer
The text containers for each axis now use the classes 'flot-
[
x|y
]
-axis' and
support HTML markup, can be accessed as DOM elements or styled directly with
'flot-
[
x|y
]
#-axis' instead of '
[
x|y
]
Axis' and '
[
x|y
]
#Axis'. For compatibility
CSS. Some older browsers lack this function of the canvas API (this doesn't
with Flot 0.7 and earlier text will continue to use the old classes as well,
affect IE); if this is a problem, either continue using an older version of
but they are considered deprecated and will be removed in a future version.
Flot or try an emulation helper such as canvas-text or Flashcanvas.
A new plugin, jquery.flot.canvas.js, allows axis tick labels to be rendered
directly to the canvas, rather than using HTML elements. This feature can be
toggled with a simple option, making it easy to create interactive plots in the
browser using HTML, then re-render them to canvas for export as an image.
The plugin tries to remain as faithful as possible to the original HTML render,
and goes so far as to automatically extract styles from CSS, to avoid having to
provide a separate set of styles when rendering to canvas. Due to limitations
of the canvas text API, the plugin cannot reproduce certain features, including
HTML markup embedded in labels, and advanced text styles such as 'em' units.
The plugin requires support for canvas text, which may not be present in some
older browsers, even if they support the canvas tag itself. To use the plugin
with these browsers try using a shim such as canvas-text or FlashCanvas.
The base and overlay canvas are now using the CSS classes "flot-base" and
The base and overlay canvas are now using the CSS classes "flot-base" and
"flot-overlay" to prevent accidental clashes (issue 540).
"flot-overlay" to prevent accidental clashes (issue 540).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment