Free cookie consent management tool by TermsFeed Policy Generator

source: branches/1888_OaaS/HeuristicLab.Services.Optimization.Web/Content/jqplot/src/jqPlotCssStyling.txt

Last change on this file was 9062, checked in by fschoepp, 12 years ago

#1888:
Backend changes:

  • Simplified job state detection (only one hive call will be made to detect all states now, instead of one additional call per job)
  • Reorganized classes (moved model classes into Model folder)

Website changes:

  • Website now heavily uses JavaScript to achieve better user experience
  • JavaScript degrades gracefully, except for plots
  • Tables: Added jquery-datatable-plugin to extend tables (pagination + search functionality)
  • OaaS-Website now uses the design of the HL websites (found in WebApplication branch)
  • Added jqplot to render zoomable line plots for HL-Datatables
  • Styling.js: Plots will be generated by using an ajax call; additional jquery-styling occurs within this file.
  • Added jquery-ui-1.9.2 which is capable of handling/rendering tabs, accordions and resizers.
File size: 2.2 KB
Line 
1Title: jqPlot CSS Customization
2
3Much of the styling of jqPlot is done by css.  The jqPlot css file is, unremarkably,
4jquery.jqplot.css and resides in the same directory as jqPlot itself.
5
6There exist some styling related javascript properties on the plot objects themselves
7(like fontStyle, fontSize, etc.).  These can be set with the options object at plot creation. 
8Generally, setting these options is *NOT* the preferred way to customize the look of the
9plot.  Use the css file instead.  *These options are deprecated and may disappear*.  The
10exceptions are certain background and color options which control attributes of something
11renderered on a canvas.  This would be line color, grid background, etc.  These must
12be set by the options object.  For a list of available options, see <jqPlot Options>.
13
14Objects in the plot that can be customized by css are given a css class like ".jqplot-*".
15For example, the plot title will have a ".jqplot-title" class, the axes ".jqplot-axis", etc.
16
17Currently assigned classes in jqPlot
18are as follows:
19
20.jqplot-target - Styles for the plot target div.  These will be cascaded down
21to all plot elements according to css rules.
22
23.jqplot-axis - Styles for all axes
24
25.jqplot-xaxis - Styles applied to the primary x axis only.
26
27.jqplot-yaxis - Styles applied to the primary y axis only.
28
29.jqplot-x2axis, .jqplot-x3axis, ... - Styles applied to the 2nd, 3rd, etc. x axis only.
30
31.jqplot-y2axis, .jqplot-y3axis, ... - Styles applied to the 2nd, 3rd, etc.y axis only.
32
33.jqplot-axis-tick - Styles applied to all axis ticks
34
35.jqplot-xaxis-tick - Styles applied to primary x axis ticks only.
36
37.jqplot-x2axis-tick - Styles applied to secondary x axis ticks only.
38
39.jqplot-yaxis-tick - Styles applied to primary y axis ticks only.
40
41.jqplot-y2axis-tick - Styles applied to secondary y axis ticks only.
42
43table.jqplot-table-legend - Styles applied to the legend box table.
44
45.jqplot-title - Styles applied to the title.
46
47.jqplot-cursor-tooltip - Styles applied to the cursor tooltip
48
49.jqplot-highlighter-tooltip - Styles applied to the highlighter tooltip.
50
51div.jqplot-table-legend-swatch - the div element used for the colored swatch on the legend.
52
53Note that axes will be assigned 2 classes like: class=".jqplot-axis .jqplot-xaxis".
Note: See TracBrowser for help on using the repository browser.