zoukankan      html  css  js  c++  java
  • jqplot导入包小结

    对于jqplot画图的导入包,总结起来就是两种,一种是每个jsp文件都是导入一样的js或css包!这些包可以另新建一个文件存放,有如下这些包!

     1 <link rel="stylesheet" type="text/css"
     2     href="css/jQuery/jqPlot/jquery.jqplot.min.css" />
     3 <link type="text/css" rel="stylesheet"
     4     href="css/jQuery/jqPlot/syntaxhighlighter/styles/shCoreDefault.min.css" />
     5 <link type="text/css" rel="stylesheet"
     6     href="css/jQuery/jqPlot/syntaxhighlighter/styles/shThemejqPlot.min.css" />
     7   
     8    <script type="text/javascript" src="js/excanvas.js"></script>
     9 <script type="text/javascript" src="js/jQuery/jquery.min.js">
    10 </script>
    11 <script type="text/javascript"
    12     src="js/jQuery/jqPlot/staticjquery.jqplot.min.js">
    13 </script>
    14 <script type="text/javascript"
    15     src="js/jQuery/jqPlot/syntaxhighlighter/scripts/shCore.min.js">
    16 </script>
    17 <script type="text/javascript"
    18     src="js/jQuery/jqPlot/syntaxhighlighter/scripts/shBrushJScript.min.js">
    19 </script>
    20 <script type="text/javascript"
    21     src="js/jQuery/jqPlot/syntaxhighlighter/scripts/shBrushXml.min.js">
    22 </script>    

    另外,还有一个名叫做

    jquery.jqplot.min.js

    发觉很怪,就是动图与静图用的虽然是同一个这个名!但在jsp中却不能并用,然后我找了下,这js分为两种,我分别把他们叫做

    js/jQuery/jqPlot/movejquery.jqplot.min.js

    js/jQuery/jqPlot/jquery.jqplot.min.js

    这跟下面的一起分别导入吧!

    另外要导入的包就是都以jqplot开头的了,就是你要画什么图,导什么包。例如

    1 <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.logAxisRenderer.min.js"></script>
    2     <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.canvasTextRenderer.min.js"></script>
    3     <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
    4     <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
    5     <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.dateAxisRenderer.min.js"></script>
    6     <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js"></script>
    7     <script class="include" type="text/javascript" src="js/jQuery/jqPlot/plugins/jqplot.barRenderer.min.js"></script>
  • 相关阅读:
    numpy 基础 —— np.linalg
    图像旋转后显示不完全
    opencv ---getRotationMatrix2D函数
    PS1--cannot be loaded because the execution of scripts is disabled on this system
    打开jnlp Faild to validate certificate, the application will not be executed.
    BATCH(BAT批处理命令语法)
    oracle vm virtualbox 如何让虚拟机可以上网
    merge 实现
    Windows batch,echo到文件不成功,只打印出ECHO is on.
    python2.7.6 , setuptools pip install, 报错:UnicodeDecodeError:'ascii' codec can't decode byte
  • 原文地址:https://www.cnblogs.com/cnJun/p/3279343.html
Copyright © 2011-2022 走看看