Web/js/jqplot/jqPlotOptions.txt
(开头部分) 18KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
Title: jqPlot Options
**This document is out of date. While the options described here should still be
relavent and valid, it has not been updated for many new options. Sorry for
this inconvenience.**
This document describes the options available to jqPlot. These are set with the
third argument to the $.jqplot('target', data, options) function. Options are
described using the following convention:
{{{
property: default, // notes
}}}
This document is not complete! Not all options are shown!
Further information about the options can be found in the online API
documentation. For details on how the options relate to the API documentation,
see the <Options Tutorial> in the optionsTutorial.txt file.
{{{
options =
{
seriesColors: [ "#4bb2c5", "#c5b47f", "#EAA228", "#579575", "#839557", "#958c12",
"#953579", "#4b5de4", "#d8b83f", "#ff5800", "#0085cc"], // colors that will
// be assigned to the series. If there are more series than colors, colors
// will wrap around and start at the beginning again.
// when fillToZero is enabled, this sets the colors to use for portions of the line below zero.
negativeSeriesColors: [ "#498991", "#C08840", "#9F9274", "#546D61", "#646C4A", "#6F6621",
"#6E3F5F", "#4F64B0", "#A89050", "#C45923", "#187399", "#945381",
"#959E5C", "#C7AF7B", "#478396", "#907294"],
sortData : true, // if true, will sort the data passed in by the user.
stackSeries: false, // if true, will create a stack plot.
// Currently supported by line and bar graphs.
title: '', // Title for the plot. Can also be specified as an object like:
title: {
text: '', // title for the plot,
show: true,
},
animate : false, // if true, the series will be animated on initial drawing.
// This support is renderer-dependent; the renderer must support animation.
animateReplot : false, // if true, the series will be animated after every replot() call.
// Use with caution! Replots can happen very frequently under
// certain circumstances (e.g. resizing, dragging points) and
// animation in these situations can cause problems.
captureRightClick : false, // if true, right-click events are intercepted and a jqplotRightClick
// event will be fired. This will also block the context menu.
dataRenderer : undefined, // A callable which can be used to preprocess data passed into the plot.
// Will be called with 3 arguments: the plot data, a reference to the plot,
// and the value of dataRendererOptions.
dataRendererOptions : undefined, // Options that will be passed to the dataRenderer,
// if that option is supplied. Can be of any type.
gridData : [], // array of grid coordinates corresponding to the data points;
// normally jqPlot will calculate this for you.
后面还有 331 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
