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>
  • 相关阅读:
    实验一 GIT 代码版本管理
    实验五、单元测试
    实验四 代码审查
    结对编程 第二阶段
    结对编程第一阶段
    结对编程(一)
    实验1 GIT代码版本管理
    实验五 单元测试
    实验四 代码评审
    实验三 UML建模工具的安装与使用
  • 原文地址:https://www.cnblogs.com/cnJun/p/3279343.html
Copyright © 2011-2022 走看看