include/lib/jqplot/docs/files/jqplot-themeEngine-js.html
(开头部分) 29KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>$.jqplot.ThemeEngine</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.4 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><div class="CTitle logo"><div class="nav"><a class="nav" href="../../index.php"><span>></span>Home</a><a class="nav" href="../../tests/"><span>></span>Examples</a><a class="nav" href="../../docs/"><span>></span>Docs</a><a class="nav" href="http://bitbucket.org/cleonello/jqplot/downloads/"><span>></span>Download</a><a class="nav" href="../../info.php"><span>></span>Info</a><a class="nav" href="../../donate.php"><span>></span>Donate</a></div><a name="$.jqplot.ThemeEngine"></a>$.jqplot.<wbr>ThemeEngine</div><div class=CBody><p>Theme Engine provides a programatic way to change some of the more common jqplot styling options such as fonts, colors and grid options. A theme engine instance is created with each plot. The theme engine manages a collection of themes which can be modified, added to, or applied to the plot.</p><p>The themeEngine class is not instantiated directly. When a plot is initialized, the current plot options are scanned an a default theme named “Default” is created. This theme is used as the basis for other themes added to the theme engine and is always available.</p><p>A theme is a simple javascript object with styling parameters for various entities of the plot. A theme has the form:</p><blockquote><pre>{
_name:f "Default",
target: {
backgroundColor: "transparent"
},
legend: {
textColor: null,
fontFamily: null,
fontSize: null,
border: null,
background: null
},
title: {
textColor: "rgb(102, 102, 102)",
fontFamily: "'Trebuchet MS',Arial,Helvetica,sans-serif",
fontSize: "19.2px",
textAlign: "center"
},
seriesStyles: {},
series: [{
color: "#4bb2c5",
lineWidth: 2.5,
linePattern: "solid",
shadow: true,
fillColor: "#4bb2c5",
showMarker: true,
markerOptions: {
color: "#4bb2c5",
show: true,
style: 'filledCircle',
lineWidth: 1.5,
size: 4,
shadow: true
}
}],
grid: {
drawGridlines: true,
gridLineColor: "#cccccc",
gridLineWidth: 1,
backgroundColor: "#fffdf6",
borderColor: "#999999",
borderWidth: 2,
shadow: true
},
axesStyles: {
label: {},
ticks: {}
后面还有 131 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
