Commit 18d1aca7 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete unused files

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51748 954022d7-b5bf-4e40-9824-e11837661b57
parent 6131a4ad
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
.inputStyle{
font-size:11pt;
}
.hidden{
display:none;
}
.lineSpacingSelect:hover {
background-color: #2177CD; /* */
}
.lineSpacingSelect
{
font-size:10pt;
padding:3px;
}
.lineMainSelect:hover {
background-color: #2177CD; /* */
}
.lineMainSelect
{
font-size:10pt;
padding:3px;
}
.lineMainSelect1:hover {
background-color: #2177CD; /* */
}
.lineMainSelect1
{
font-size:10pt;
padding:3px;
}
.paletteCellHover .colorWatch{border:1px solid #FFFFFF;width:16px;height:16px;}
.colorWatch {
height:18px;
width:18px;
border-bottom-color:#FFFF00;
}
.bordered {border:1px solid #666666;}
.bg_fill {
background-position:-544px 50%;
height:14px;
width:16px;
}
body { margin: 0; padding: 0; vertical-align:top; overflow:hidden;-moz-user-select: none; -khtml-user-select: none; user-select: none;background-color: #EEEEEE}
div, table, tbody, tr, th, td, form {
margin:0;
padding:0;
vertical-align:top;
}
#doc-edit {
background-color:#EEF0F2;
}
#blockUI{display: none; position:absolute; left:0px; top:0px; margin:0; padding:0; z-index:200; background-color:#000000; border:medium none; cursor:wait; filter:alpha(opacity=60); -moz-opacity:0.6; -khtml-opacity:0.6; opacity:0.6; }
table {
border-collapse:collapse;
border-spacing:0;
empty-cells:show;
table-layout:fixed;
}
.options{position: absolute; z-index: 3; background:none repeat scroll 0 0 #FFFFFF;border-color:#FFF #666666 #666666 #A8A8A8;border-style: none solid solid solid;border-width:1px;}
.MenuSeparator
{
border-top: 1px solid #CCCCCC;
margin: 4px 0;
padding: 0;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
}
.buttonMaket
{
height:80px;
width:80px;
}
.opacitBack
{
background: #b2b2b2; opacity:0.55;
}
.dragBorder
{
border: 2px dotted #CCCCCC;
}
\ No newline at end of file
/*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
*/
/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
*/
/* Component containers
----------------------------------*/
.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
.ui-widget-content a { color: #333333; }
.ui-widget-header { border: 1px solid #6688EE; background: #BBCCFF 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
.ui-widget-header a { color: #ffffff; }
/* Interaction states
----------------------------------*/
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; outline: none; }
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; outline: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; outline: none; }
.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; outline: none; }
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; outline: none; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; outline: none; text-decoration: none; }
/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
/* positioning */
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-off { background-position: -96px -144px; }
.ui-icon-radio-on { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; }
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; }
/* Overlays */
.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; }/* Accordion
----------------------------------*/
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
.ui-accordion .ui-accordion-li-fix { display: inline; }
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker
----------------------------------*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }
/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}/* Dialog
----------------------------------*/
.ui-dialog { position: relative; padding: .2em; width: 300px; }
.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
/* Progressbar
----------------------------------*/
.ui-progressbar { height:2em; text-align: left; }
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
----------------------------------*/
.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
.ui-resizable-s { cursor: s-resize; height: 12px; width: 100%; bottom: -5px; left: 0px; }
.ui-resizable-e { cursor: e-resize; width: 15px; right: -5px; top: 0px; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
----------------------------------*/
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
----------------------------------*/
.ui-tabs { padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
This source diff could not be displayed because it is too large. You can view the blob instead.
var bar;
var temMass = [];
var data;
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?')).split('&');
for(var i = 0; i < hashes.length; i++ )
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
function formatDraw(value,fTitle)
{
//$('#formatArea').css('display','block');
var name = '#'+value;
$(name).dialog({
title: fTitle.innerText, //,
width:550, //
height: 550, //
modal: true, //true - , false -
buttons: {
"": function() { $(this).dialog("close"); }
},
});
//$("#dialog").dialog("open");
}
function changeGraph(nameGraph)
{
var data = [280, 45, 133, 166, 84, 259, 266, 960, 219, 311, 67, 89];
var data2 = [280, 45, 133, 166, 84, 259, 266, 960, 219, 311, 67, 89];
if('Line' != nameGraph)
nameGraph = nameGraph.value;
if('Line' == nameGraph)
bar = new OfficeExcel.Line('myCanvas', data);
else if('Bar' == nameGraph)
{
bar = new OfficeExcel.Bar('myCanvas', data);
bar._otherProps._variant = 'bar';
}
else if('Bipolar' == nameGraph)
bar = new OfficeExcel.Bipolar('myCanvas', data, data2);
else if('HorizontalBar' == nameGraph)
bar = new OfficeExcel.HBar('myCanvas',data);
else if('Pie' == nameGraph)
bar = new OfficeExcel.Pie('myCanvas',data);
else if('Radar' == nameGraph)
bar = new OfficeExcel.Radar('myCanvas',data);
else if('Rose' == nameGraph)
bar = new OfficeExcel.Rose('myCanvas',data);
else if('Scatter' == nameGraph)
bar = new OfficeExcel.Scatter('myCanvas',data);
else if('Waterfall' == nameGraph)
bar = new OfficeExcel.Waterfall('myCanvas',data);
else if('Rscatter' == nameGraph)
bar = new OfficeExcel.Rscatter('myCanvas',data);
else if('Donut' == nameGraph)
{
var donut = new OfficeExcel.Pie('myCanvas', data);
bar._otherProps._variant = 'donut';
}
else if('Gantt' == nameGraph)
{
var donut = new OfficeExcel.Gantt('myCanvas');
}
bar._chartGutter._left = 35;
bar._chartGutter._bottom = 35;
//if('bar' != nameGraph)
//bar.Draw();
//insertOptions();//add some default options
//insertAllGraphs();
upOptions();
}
function insertOptions()
{
//addOptions('chart.ymin',-100)
var yFirstMin = bar.min;
var yFirstMax = bar.max;
//var yFirstDiff = bar.Get('chart.numyticks');
var yFirstDiff = bar._otherProps._numyticks;
$('#optionsMin').val(yFirstMin);
$('#optionsMax').val(yFirstMax);
$('#optionsDiff').val((yFirstMax -yFirstMin)/yFirstDiff);
//addOptions('chart.ymin',parseInt(bar.min));
if(!isNaN(bar.min))
bar._otherProps._ymin = parseInt(bar.min);
// Y
//addOptions('chart.numyticks',parseInt((yFirstMax -yFirstMin)/yFirstDiff));//
/*console.log(bar.data);
for (var i=0; i < bar.data[0].length; i++)
{
temMass[i] = i+1;
}*/
//addOptions('chart.labels',temMass);
//bar._otherProps._labels = bar.data_arr;
bar._otherProps._labels = [1,2,3,4,5];
//bar._otherProps._ylabels = [1,2,3,4,5,6];
//addOptions('chart.key',['1']);
bar._otherProps._key = ['1'];
//addOptions('chart.gutter.left',100);
bar._chartGutter._left = 145;
//addOptions('chart.gutter.right',70);
bar._chartGutter._right = 70;
//addOptions('chart.gutter.top',50);
bar._chartGutter._top = 25;
//addOptions('chart.gutter.bottom',50);
bar._chartGutter._bottom = 25;
upOptions();
//addOptions('chart.tickmarks.linewidth',13);
//addOptions('chart.background.grid.border',false);
//addOptions('chart.title.background',"red");
}
function upOptions()
{
canvas = $('#myCanvas')[0]
canvas.getContext('2d').clearRect(0, 0, canvas.width, canvas.height);
//if('null' == value)
//value = null
//bar.Set(format, value);
bar.Draw();
}
function drawDiagram1()
{
var data = $('#drawDiagramPoint').val().split(',');
bar = new OfficeExcel.Line('myCanvas', data);
bar._otherProps._ylabels_count = 'auto';
//bar._otherProps._xaxispos = 'center';
bar._chartGutter._left = 35;
bar._chartGutter._bottom = 35;
bar._otherProps._background_grid_autofit_numvlines = data.length;
bar._otherProps._background_grid_color = 'graytext';
bar._otherProps._background_barcolor1 = 'white';
bar._otherProps._background_barcolor2 = 'white';
bar._otherProps._colors = ['steelblue'];
bar._otherProps._linewidth = 3;
bar._otherProps._key = ['1'];
var tempMas = [];
for (var i=0; i<=data.length; i++) {
tempMas[i] = i;
}
bar._otherProps._labels = tempMas;
bar._chartGutter._left = 45;
bar._chartGutter._right = 90;
bar._chartGutter._top = 13;
bar._chartGutter._bottom = 30;
bar._otherProps._key_position_x = 395;
bar._otherProps._key_position_y = 123;
bar.Draw();
bar._otherProps._hmargin = bar._otherProps._background_grid_vsize/2;
upOptions();
insertAllGraphs();
insertDiffOptions();
$("#hiddenCanvas").offset({top:$('#myCanvas').offset().top - parseInt($("#hiddenCanvas").css('border-width')), left:$('#myCanvas').offset().left- parseInt($("#hiddenCanvas").css('border-width')),right:$('#myCanvas').offset().right,bottom:$('#myCanvas').offset().bottom})
$("#hiddenCanvas").css('height',$('#myCanvas').css('height'));
$("#hiddenCanvas").css('width',$('#myCanvas').css('width'));
$("#hiddenWorkArea").css('width',parseInt($('#myCanvas').css('width')) - bar._chartGutter._left - bar._chartGutter._right);
$("#hiddenWorkArea").css('height',parseInt($('#myCanvas').css('height')) - bar._chartGutter._top - bar._chartGutter._bottom);
$("#hiddenWorkArea").offset({top:bar._chartGutter._top, left:bar._chartGutter._left,right:bar._chartGutter._right,bottom:bar._chartGutter._bottom})
// , ( )
$("#hiddenAxesX").css('width', parseInt($("#hiddenWorkArea").css('width')) + 5);
$("#hiddenAxesX").css('height',20);
$("#hiddenAxesX").offset({top:parseInt($("#hiddenWorkArea").css('top')) + parseInt($("#hiddenWorkArea").css('height')), left:parseInt($("#hiddenWorkArea").css('left'))})
$("#hiddenAxesY").css('width',30);
$("#hiddenAxesY").css('height',parseInt($("#hiddenWorkArea").css('height')) + 30);
$("#hiddenAxesY").offset({top:parseInt($("#hiddenWorkArea").css('top')), left:parseInt($("#hiddenWorkArea").css('left')) -30})
//upOptions();
//insertAllOptions();
$("#hiddenDrag").css('width',parseInt($("#hiddenWorkArea").css('width')) + parseInt($("#hiddenAxesY").css('width')));
$("#hiddenDrag").css('height',parseInt($("#hiddenWorkArea").css('height'))+ parseInt($("#hiddenAxesX").css('height')) );
$("#hiddenDrag").offset({top:parseInt($("#hiddenAxesY").css('top')), left:parseInt($("#hiddenAxesY").css('left'))})
}
function calcWidthGraph()
{
var trueWidth = (parseInt($('#myCanvas').css('width')) - bar._chartGutter._left - bar._chartGutter._right);
if('bar' == bar.type)
{
var pointKoff = 1 - (1.11111)/(bar.data[0].length)
bar._otherProps._hmargin = (trueWidth - trueWidth*pointKoff)/2;
}
else
{
var pointKoff = 1 - 1/(bar.data[0].length)
bar._otherProps._hmargin = (trueWidth - trueWidth*pointKoff)/2;
}
}
function calcGutter(axis)
{
if(typeof(bar.data[0]) == 'object')
{
var arrMin = [];
var arrMax = [];
for (var j=0; j < bar.data.length; j++) {
min = Math.min.apply(null, bar.data[j]);
max = Math.max.apply(null, bar.data[j]);
arrMin[j] = min;
arrMax[j] = max;
}
var min = Math.min.apply(null, arrMin);
var max = Math.max.apply(null, arrMax);
}
else
{
var min = Math.min.apply(null, bar.data);
var max = Math.max.apply(null, bar.data);
}
var scale = bar.scale
if(undefined == scale)
scale = [max,min]
if('scatter' == bar.type)
{
bar.scale = OfficeExcel.getScale(this.max, bar);
bar.xScale = OfficeExcel.getScale(true, bar);
if(bar._otherProps._ymax > 0 && bar._otherProps._ymin < 0)
{
bar._chartGutter._bottom = 14;
bar._chartGutter._top = 14;
}
else if(bar._otherProps._ymax <= 0 && bar._otherProps._ymin < 0)
{
bar._chartGutter._bottom = 14 ;
bar._chartGutter._top = 14;
}
else
{
bar._chartGutter._bottom = 14 + 20;
bar._chartGutter._top = 14;
}
if(bar._otherProps._xmax > 0 && bar._otherProps._xmin < 0)
{
bar._chartGutter._left = 22;
bar._chartGutter._right = 93;
}
else if(bar._otherProps._xmax <= 0 && bar._otherProps._xmin < 0)
{
bar._chartGutter._left = 22;
bar._chartGutter._right = 93;
}
else
{
bar._chartGutter._left = bar.context.measureText(Math.max.apply(null,bar.scale)).width + 22;
bar._chartGutter._right = 93;
}
}
else if('hbar' == bar.type || 'bar' == bar.type)
{
if('hbar' == bar.type)
bar._chartGutter._left = bar.context.measureText(Math.max.apply(null, [bar.data.length])).width + 20;
else
bar._chartGutter._left = bar.context.measureText(Math.max.apply(null, scale)).width + 20;
bar._chartGutter._right = 72;
bar._chartGutter._bottom = 35;
bar._chartGutter._top = 14;
}
else
{
if(axis == undefined)
{
bar._chartGutter._left = bar.context.measureText(Math.max.apply(null, scale)).width + 20;
bar._chartGutter._right = 90;
if(min < 0 && max < 0 || min < 0 && max > 0)
bar._chartGutter._bottom = 14;
else
bar._chartGutter._bottom = 35;
bar._chartGutter._top = 14;
}
else if (axis == 'OX')
{
if(min < 0 && max < 0 || min < 0 && max > 0)
bar._chartGutter._bottom = 14;
else
bar._chartGutter._bottom = 35;
}
else if (axis == 'OY')
{
bar._chartGutter._left = bar.context.measureText(Math.max.apply(null, scale)).width + 20;
}
}
}
function calcAllMargin()
{
if(typeof(bar.data[0]) == 'object')
{
var arrMin = [];
var arrMax = [];
for (var j=0; j < bar.data.length; j++) {
min = Math.min.apply(null, bar.data[j]);
max = Math.max.apply(null, bar.data[j]);
arrMin[j] = min;
arrMax[j] = max;
}
var min = Math.min.apply(null, arrMin);
var max = Math.max.apply(null, arrMax);
}
else
{
var min = Math.min.apply(null, bar.data);
var max = Math.max.apply(null, bar.data);
}
var left = 0;
var standartMargin = 14;
left = 21;
if(bar._otherProps._key_halign == 'left')
left += 76;
if(bar._yAxisTitle._align == 'rev')
left += 28;
else if (bar._yAxisTitle._align == 'hor')
left += 95;
else if (bar._yAxisTitle._align == 'ver')
left +=0;
bar._chartGutter._left = standartMargin + left;
var right = 0;
if(bar._otherProps._key_halign == 'right')
right += 76;
bar._chartGutter._right = standartMargin + right;
var top = 0;
if(bar._otherProps._key_halign == 'top')
top += 32;
if(bar._chartTitle._text != null && bar._chartTitle._text != '')
top += 42;
bar._chartGutter._top = standartMargin + top;
var bottom = 0;
if(min < 0 && max < 0 || min < 0 && max > 0)
bottom = 14;
else
bottom = 35;
if(bar._otherProps._key_halign == 'bottom')
bottom += 32;
if(bar._xAxisTitle._text != '')
bottom += 29;
bar._chartGutter._bottom = bottom;
}
$(function(){
$(".buttonColor").click(function(){
var nameVal = '#' + this.value;
if('none' != $(nameVal).css('display'))
$(nameVal).hide();
else
$(nameVal).show();
});
$(".lineMainSelect1").click(function(){
var nameVal = '#' + 'd' + this.id;
var parentDiv = $(this).parent().parent().parent().parent();
var margin = parseInt(parentDiv.css('margin-left').replace('px','')) + parseInt(parentDiv.css('width').replace('px',''));
$(nameVal).css('margin-left',margin)
if('none' != $(nameVal).css('display'))
$(nameVal).hide();
else
$(nameVal).show();
});
$(".getMainName").click(function()
{
var id = this.id;
if('mNNot' == id)
{
bar._chartTitle._text = null;
calcAllMargin();
}
else if('mNCenter' == id)
{
bar._chartTitle._text = ' ';
bar._chartTitle._vpos = 32;
bar._chartTitle._hpos = 0.5;
bar._chartTitle._size = 18;
}
else if('mNUnder' == id)
{
bar._chartTitle._text = ' ';
bar._chartTitle._vpos = 32;
bar._chartTitle._hpos = 0.5;
bar._chartTitle._size = 18;
calcAllMargin();
}
upOptions();
$(this).parent().parent().parent().parent().hide();
$('#allMainMenu').children().hide();
});
$(".getNameAxes").click(function()
{
var id = this.id;
if('mNOXYHorNot' == id)
{
if(bar._xAxisTitle._text != '' && bar._xAxisTitle._text != null)
{
bar._xAxisTitle._text = '';
calcAllMargin();
//calcGutter('OX');
}
//bar._chartGutter._bottom -= 30
}
else if('mNOXYHorUp' == id)
{
if(bar._xAxisTitle._text == '' || bar._xAxisTitle._text == null)
{
//calcGutter('OX');
bar._xAxisTitle._text = ' ';
calcAllMargin();
bar._xAxisTitle._vpos = bar.canvas.height - 23;
//bar._xAxisTitle._hpos = (bar.canvas.width -bar._chartGutter._left/2 - bar._chartGutter._right/2 - bar.context.measureText(bar._xAxisTitle._text).width/2)/2;
bar._xAxisTitle._hpos =bar._chartGutter._left + (bar.canvas.width -bar._chartGutter._left - bar._chartGutter._right)/2
bar._xAxisTitle._size = 10;
//bar._chartGutter._bottom += 30;
}
}
else if('mNOXYVerNot' == id)
{
/*if(bar._yAxisTitle._text != '' && bar._yAxisTitle._text != null)
{*/
//calcGutter('OY');
bar._xAxisTitle._hpos =bar._chartGutter._left + (bar.canvas.width -bar._chartGutter._left - bar._chartGutter._right)/2
bar._yAxisTitle._text = '';
bar._yAxisTitle._align = null;
calcAllMargin();
//}
}
else if('mNOXYVerCon' == id)
{
/*if(bar._yAxisTitle._text == '' || bar._yAxisTitle._text == null)
{*/
//calcGutter('OY');
bar._yAxisTitle._text = ' ';
bar._yAxisTitle._align = 'rev'
calcAllMargin();
bar._yAxisTitle._vpos = bar._chartGutter._bottom + (bar.canvas.height -bar._chartGutter._top - bar._chartGutter._bottom)/2;
var keyLeft = 0;
if(bar._otherProps._key_halign == 'left')
keyLeft = 70;
bar._yAxisTitle._hpos = 23 + keyLeft;
bar._yAxisTitle._angle = 'null';
bar._yAxisTitle._size = 10;
//bar._chartGutter._left += 27;
bar._xAxisTitle._hpos = bar._chartGutter._left + (bar.canvas.width -bar._chartGutter._left - bar._chartGutter._right)/2;
//}
}
else if('mNOXYVerName' == id)
{
}
else if('mNOXYHorName' == id)
{
//calcGutter('OY');
bar._yAxisTitle._text = ' ';
bar._yAxisTitle._align = 'hor'
calcAllMargin();
bar._yAxisTitle._vpos = bar._chartGutter._bottom + (bar.canvas.height -bar._chartGutter._top - bar._chartGutter._bottom)/2
var keyLeft = 0;
if(bar._otherProps._key_halign == 'left')
keyLeft = 87;
bar._yAxisTitle._hpos = 48 + keyLeft;
bar._yAxisTitle._size = 10;
bar._yAxisTitle._angle = 0;
//bar._chartGutter._left += bar.context.measureText(bar._yAxisTitle._text).width + 17;
var keyLeft = 0;
if(bar._otherProps._key_halign == 'left')
keyLeft = 100;
bar._xAxisTitle._hpos = bar._chartGutter._left + (bar.canvas.width -bar._chartGutter._left - bar._chartGutter._right)/2 + keyLeft
}
upOptions();
$(this).parent().parent().parent().parent().hide();
$('#allMainMenu').children().hide();
});
$(".getAddKey").click(function()
{
var id = this.id;
var heightVerKey = 90;
var heightHorKey = 0;
var widthVerKey = 32;
var widthHorKey = 0;
if('keyOXYnot' == id)
{
bar._otherProps._key_halign = null;
calcAllMargin();
}
else if('keyOXYnotRight' == id)
{
bar._otherProps._key_halign = 'right';
bar._otherProps._key_position_y = bar.canvas.height/2 - heightVerKey/2;
bar._otherProps._key_position_x = bar.canvas.width - widthVerKey - 28;
calcAllMargin();
}
else if('keyOXYTop' == id)
{
bar._otherProps._key_halign = 'top';
bar._otherProps._key_hpos =
bar._otherProps._key_vpos =
calcAllMargin();
}
else if('keyOXYLeft' == id)
{
bar._otherProps._key_halign = 'left';
bar._otherProps._key_position_y = bar.canvas.height/2 - heightVerKey/2;
bar._otherProps._key_position_x = 20;
calcAllMargin();
}
else if('keyOXYBottom' == id)
{
bar._otherProps._key_halign = 'bottom';
bar._otherProps._key_hpos =
bar._otherProps._key_vpos =
calcAllMargin();
}
upOptions();
$(this).parent().parent().parent().parent().hide();
$('#allMainMenu').children().hide();
});
$(".lineMainSelect").click(function(){
var nameVal = '#' + this.id;
var massiveClass = $('.lineMainSelect');
var widthCanvas = $('#myCanvas').css('width').replace('px','');
var heightCanvas = $('#myCanvas').css('height').replace('px','');
var temMass1 = '[1,2,3,4,5,6,7,8,9,10,11,12]';
var defaultMas = ['1'];
//var massiveCommand = ['chart.title','chart.title;chart.title.vpos','chart.title;chart.title.vpos','chart.title.xaxis','chart.title.xaxis','chart.title.yaxis','chart.title.yaxis','chart.title.yaxis','chart.title.yaxis','chart.key','chart.key','chart.key','chart.key','chart.key','chart.labels.above','chart.labels.above','chart.labels.above','chart.labels.above','chart.labels.above','chart.labels.above','tableBase','tableBase','tableBase','chart.labels','chart.labels','chart.labels','chart.labels','chart.ylabels','chart.ylabels','chart.ylabels','chart.ylabels','chart.ylabels','chart.ylabels','chart.background.grid','chart.background.grid','chart.background.grid','chart.background.grid','chart.background.grid','chart.background.grid','chart.background.grid'];
var massiveCommand = ['TA_text','TA_text;_vpos','TA_text;_vpos','TX_text','TX_text','TY_text','TY_text','TY_text','TY_text','_key','_key','_key','_key','_key','_labels_above','_labels_above','_labels_above','_labels.above','_labels.above','_labels.above','tableBase','tableBase','tableBase','_labels','_labels','_labels','_labels','_ylabels','_ylabels','_ylabels','_ylabels','_ylabels','_ylabels','_background_grid','_background_grid','_background_grid','_background_grid','_background_grid','_background_grid','_background_grid'];
var massiveDefault = ['null',' ;1',' ;null','null',' X','null',' Y',' Y',' Y','null',"['1']","['1']",defaultMas,defaultMas,'false','true','true','true','true','true','tableBase','tableBase','tableBase','null',temMass,temMass,temMass,'false','true','true','true','true','true','null','true','true','true','null','true','true'];
for (var i=0; i < massiveClass.length; i++)
{
if(this == massiveClass[i])
{
var tempDefault;
var massiveDefTemp;
var massiveComTemp = massiveCommand[i].split(';');
if(undefined == massiveDefault[i].split)
massiveDefTemp = massiveDefault[i];
else
massiveDefTemp = massiveDefault[i].split(';');
for (var n=0; n < massiveComTemp.length; n++)
{
var checkDoubleName = massiveComTemp[n].substr(0, 2);
if('null' == massiveDefTemp[n])
tempDefault = null;
else if('true' == massiveDefTemp[n])
tempDefault = true;
else if('false' == massiveDefTemp[n])
tempDefault = false;
else
tempDefault = parseInt(massiveDefTemp[n]);
if(isNaN(tempDefault))
tempDefault = massiveDefTemp[n];
if('TA' == checkDoubleName)
{
bar._chartTitle[massiveComTemp[n].replace('TA','')] = tempDefault;;
}
else if('TY' == checkDoubleName)
{
bar._yAxisTitle[massiveComTemp[n].replace('TY','')] = tempDefault;
}
else if('TX' == checkDoubleName)
{
bar._xAxisTitle[massiveComTemp[n].replace('TX','')] = tempDefault;
}
else
{
if('undefined' != typeof bar._otherProps[massiveComTemp[n]])
bar._otherProps[massiveComTemp[n]] = tempDefault;
else if ('undefined' != typeof bar._chartGutter[massiveComTemp[n]])
bar._chartGutter[massiveComTemp[n]] = tempDefault;
else if ('undefined' != typeof bar._chartTitle[massiveComTemp[n]])
bar._chartTitle[massiveComTemp[n]] = tempDefault;
else if ('undefined' != typeof bar._shadow[massiveComTemp[n]])
bar._shadow[massiveComTemp[n]] = tempDefault;
else if ('undefined' != typeof bar._tooltip[massiveComTemp[n]])
bar._tooltip[massiveComTemp[n]] = tempDefault;
else if ('undefined' != typeof bar._xAxisTitle[massiveComTemp[n]])
bar._xAxisTitle[massiveComTemp[n]] = tempDefault;
else if ('undefined' != typeof bar._yAxisTitle[massiveComTemp[n]])
bar._yAxisTitle[massiveComTemp[n]] = tempDefault;
}
}
upOptions();
break;
}
}
$(this).parent().parent().parent().parent().hide();
$('#allMainMenu').children().hide();
});
$("#commandButton").click(function(){
var value = $('#optionsMin1').val();
var command = $('#TEST11')[0].selectedOptions[0].innerText;
if(!isNaN(parseInt(value)))
value = parseInt(value)
else if(value =='null')
value = null;
else if(value =='false')
value= false
else if(value =='true')
value= true
addOptions(command,value);
});
$("#angleTextX").click(function(){
var value = $('#varAngle').val();
//addOptions('chart.text.angle',parseInt(value));
bar._otherProps._text_angle = parseInt(value);
upOptions();
});
$(".colorWatchNamerBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorNameBox').hide();
//addOptions('chart.tickmarks.linewidth',3);
bar._otherProps._tickmarks_linewidth = 3;
//addOptions('chart.title.background',color);
bar._chartTitle._background = color;
upOptions();
});
$(".colorWatchMarkerLine").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxMarkerLine').hide();
//addOptions('chart.tickmarks.dot.color',color);
bar._otherProps._tickmarks_dot_color = color;
upOptions();
});
$(".colorWatchNamerXBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorNameXBox').hide();
//addOptions('chart.title.xaxis.font',color);
bar._xAxisTitle._font = color;
upOptions();
});
$(".colorWatchNamerYBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorNameYBox').hide();
//addOptions('chart.title.yaxis.font',color);
bar._yAxisTitle._font = color;
upOptions();
});
$(".colorAMBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxAM').hide();
//addOptions('chart.title.yaxis.font',color);
var colorNew = [color];
bar._otherProps._colors = colorNew;
upOptions();
});
$(".colorWatchArBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBox').hide();
//addOptions('chart.background.barcolor1',color);
bar._otherProps._background_barcolor1 = color;
//addOptions('chart.background.barcolor2',color);
bar._otherProps._background_barcolor2 = color;
upOptions();
});
$(".colorWatchGrid").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxGrid').hide();
//addOptions('chart.background.grid.color',color);
bar._otherProps._background_grid_color = color;
upOptions();
});
$(".colorWatchBackKeyColor").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#keyBackColorBox').hide();
//addOptions('chart.key.background',color);
bar._otherProps._key_background = color;
upOptions();
});
$(".colorWatchKeyColor").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#keyColorBox').hide();
//addOptions('chart.key.background',color);
bar._otherProps._key_background = color;
upOptions();
});
$(".colorWatchKeyColor").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#keyColorBox').hide();
//addOptions('chart.key.background',color);
bar._otherProps._key_background = color;
upOptions();
});
$(".colorWatchLine").click(function(){
var color = [$(this).css('background-color')];
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxLine').hide();
//addOptions('chart.colors',color);
bar._otherProps._colors = color;
upOptions();
});
$(".colorWatchLineBar").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxLine').hide();
//addOptions('chart.colors',color);
bar._otherProps._strokecolor = color;
upOptions();
});
$(".colorWatchShadowLine").click(function(){
var color = [$(this).css('background-color')];
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxShadowLine').hide();
//addOptions('chart.shadow',true);
bar._shadow._visible = true;
//addOptions('chart.shadow.color',color);
bar._shadow._color = color;
upOptions();
});
$(".colorWatchShadowKey").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxShadowKey').hide();
//addOptions('chart.key.shadow',true);
bar._otherProps._key_shadow = true;
//addOptions('chart.key.shadow.color',color);
bar._otherProps._key_shadow_color = color;
upOptions();
});
$(".colorWatchAYBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxAYBack').hide();
addOptions('chart.ylabels.inside',true);
bar._otherProps._ylabels_inside = true
addOptions('chart.ylabels.inside.color',color);
bar._otherProps._ylabels_inside_color = color;
upOptions();
});
$(".colorWatchAYCol").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxAYCol').hide();
//addOptions('chart.noaxes',false);
bar._otherProps._noaxes = false;
//addOptions('chart.axis.color',color);
bar._otherProps._axis_color = color;
upOptions();
});
$(".colorWatchAXCol").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxAXCol').hide();
//addOptions('chart.noaxes',false);
bar._otherProps._noaxes = false;
//addOptions('chart.axis.color',color);
bar._otherProps._axis_color = color;
upOptions();
});
$(".colorWatchAXBack").click(function(){
var color = $(this).css('background-color');
//bar.Set('chart.background.barcolor1',color);
$('#colorBoxAXBack').hide();
//addOptions('chart.xlabels.inside',true);
bar._otherProps._xlabels_inside = true;
//addOptions('chart.xlabels.inside.color',color);
bar._otherProps._xlabels_inside_color = color;
upOptions();
});
$(".optionsDiffIntAY").click(function(){
var valInt = $('#optionsDiffInt').val();
var valIntNum = $('#optionsXVal').val();
alert(' OX ')
});
$(".lineSpacingSelect").click(function(){
var valueSelect = this.id;
var allChild = $(this).parent().parent().children();
var styleMass = [];
for (var i=0; i < allChild.length; i++)
{
var nameFunc = allChild[i].children[0].id;
styleMass[i] = nameFunc;
}
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i] + 'P';
$(temp).hide();
}
var valueInput = '#' + valueSelect + 'P';
$(valueInput).show();
//bar.Set('chart.background.barcolor1',color);
});
$(".buttonMaket").click(function(){
var nameVal = "#" + this.parentNode.id + 'P';
if('none' != $(nameVal).css('display'))
$(nameVal).hide();
else
$(nameVal).show();
//bar.Set('chart.background.barcolor1',color);
});
$(".varOptionsAxisY").click(function(){
var tempMin = parseInt($('#optionsMin').val());
var tempMax = parseInt($('#optionsMax').val());
var tempDiff = parseInt($('#optionsDiff').val());
//addOptions('chart.numyticks',parseInt((tempMax - tempMin)/tempDiff));
bar._otherProps._numyticks = parseInt((tempMax - tempMin)/tempDiff);
//addOptions('chart.ymin',tempMin);
bar._otherProps._ymin = tempMin;
//addOptions('chart.ymax',tempMax);
bar._otherProps._ymax = tempMax;
upOptions();
});
$("#myCanvas").dblclick(function(e){
var sd;
});
$("#tempBase64").click(function(){
bar._otherProps._background_image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAsCAMAAACkN+1nAAABqlBMVEUAAAADAwMGBgYJCQkMDAwPDw8SEhIVFRUYGBgbGxseHh4hISEkJCQnJycqKiotLS0wMDAzMzM2NjY5OTk8PDw/Pz9CQkJFRUVISEhLS0tOTk5RUVFUVFRXV1daWlpdXV1gYGBjY2NmZmZpaWlsbGxvb29ycnJ4eHh7e3t+fn6BgYGEhISHh4eKioqNjY2QkJCTk5OWlpaZmZmcnJyfn5+ioqKlpaWoqKirq6uurq6xsbG0tLS3t7e6urq9vb3AwMDDw8PGxsbJycnMzMzPz8/S0tLV1dXY2Njb29ve3t7h4eHk5OTn5+fq6urt7e3w8PDz8/P29vb5+fn8/Pz/AAD/AwP/Bgb/CQn/DAz/Dw//EhL/FRX/GBj/Gxv/Hh7/ISH/JCT/Jyf/MDD/MzP/Pz//QkL/SEj/S0v/Tk7/UVH/YGD/Zmb/aWn/bGz/cnL/dXX/eHj/e3v/fn7/hIT/jY3/k5P/lpb/mZn/nJz/n5//paX/q6v/rq7/tLT/w8P/xsb/z8//1dX/2Nj/29v/3t7/4eH/5OT/7e3/8PD/8/P/9vb/+fn//Pz////dxpC1AAADeUlEQVR42u3V6VcTZxSA8WfIrlIbFCS0TSUUKBBToCGEpYhQCSKGhIyttZVaaWv3zbrQTW3rWu7/3DvJTAayDB7PmXP84PNlkpNkfufOO/MGqfb49vXtD0ztqvhQDblz2bT7yDfke9Pqs+0tH5HbKnzyxyORW/4hDz40zWsPRXxFfjTNi/fFX2RXF/1r8Rm5qyuy4zdyU5H7fiM/KPLUb+RbReQ5kPXsWLYo7drMj03kyy7SPMkURMUqBlNSLYXdCak1GgACWbEqB2BGj5UEdIrVfAwt/NaGjfykyN/7kQkIiVUIJqRaErvjUm2IWnOibQA5PeaAvGjTBtWMgo3s2HeXN/IGROLxsIPMAcPz3RAt70GOwjHRCkFILGQPMyw28kCRrw5EEli/SDpIHFIiF0Iw7iKzwKJofXBkU6Q0VnIQ+Vyf+LvPgIy6yDKwLNX3CRfpgj7RzgKzDdvKXzrK1j8HID1wykWGISbauxDYdJAFZw0G4ZA0ILp56clv/OuJHIOsi+i7XtFOAysO0gMDYnUY+psQ+c60a490wnwdqRgwJNoqMGsjSxA8L1oRmGhG5LcrjUhg0ipQ/3oEluvIOSAj2howZSN9MCJWi8BCC6S6S366veUidg5SBtbryHvAoSPuFywkBdGS2AtFoRXypWleeiS32iIrEJE6MouTiwQgVBSrDLDWAvlTB/lFFGl3uWagx0VyQG/qeLxavoakO+BtsRppjexeM83Lj73urlEYcpFpYE6c7DXph+C6jbS6XHpy84Z4IQnIucg8kG9ECgYMOpfrdBPyRO+tj594IZUQRtFF3gfeaUSsDzvO1/ZwJpuQn3WQX8ULWYRecZFNA5JNyIoB/faukmxEHl4yzStPPZEBmK4jWheENhoReR2MVR07CKFSA/KNDnJTvJByhM7KXiQDpBoQd4STwOB+5N5F3R//80TGISs2EhdtPQj0VxoQ6QPjrMgZtLHKXuQLHeSOeCClbj28GrcKo6+sm/cUWiSZ6nkltgdZAl6zRyH2Zqormq4h1nN4ddcLWWN/aXsmu4KLyAlgSaTcjZ2SGtf1L+t3qbWjz6RokxAVqzBMtkYkHQRrLuvkpQ6YEW0pDAlRZagDzeg/V0PkwCxEnAYcRErTmczcqrSpmEuPL26IPD/yzL1gyIUAR8VpBCPvA9LcS+Ql8gIh/wO4jFzH/PtOVAAAAABJRU5ErkJggg==";
upOptions();
});
$(".formatAreaBackground").click(function(){
var dsf;
});
$(".buttonDifComm").click(function(){
var id = this.id;
var valueLeft;
var valueRight;
var mainValueL = id.split('command')[1];
var mainObj;
if(id == 'commandotherProps')
mainObj = bar._otherProps;
else if (id == 'commandchartGutter')
mainObj = bar._chartGutter;
else if (id == 'commandchartTitle')
mainObj = bar._chartTitle;
else if (id == 'commandshadow')
mainObj = bar._shadow;
else if (id == 'commandxAxisTitle')
mainObj = bar._xAxisTitle;
else if (id == 'commandyAxisTitle')
mainObj = bar._yAxisTitle;
else if (id == 'commandzoom')
mainObj = bar._zoom;
else if (id == 'commandtooltip')
mainObj = bar._tooltip;
valueLeft = $('#' + mainValueL).val().split(':')[0];
valueRight = $('#' + mainValueL + 'Min').val();
if(!isNaN( valueRight))
valueRight = parseInt(valueRight);
if('null' == valueRight)
valueRight = null;
else if('true' == valueRight)
valueRight = true;
else if('false' == valueRight)
valueRight = false;
mainObj[valueLeft] = valueRight;
upOptions();
});
$('#myCanvas').click(function(){
$('#hiddenCanvas').show();
});
$('#hiddenWorkArea').click(function(){
$('#hiddenWorkArea').css('border','2px solid grey');
});
$("#hiddenCanvas").draggable({
start: function(event, ui) {
//$('#hiddenCanvas').css('background', '#b2b2b2');
$('#hiddenCanvas').addClass('opacitBack');
},
stop: function(event, ui) {
$("#myCanvas").offset({top:$('#hiddenCanvas').offset().top + parseInt($("#hiddenCanvas").css('border-width')), left:$('#hiddenCanvas').offset().left + parseInt($("#hiddenCanvas").css('border-width')),})
$('#hiddenCanvas').removeClass('opacitBack');
}
});
//var heightHidden;
//var widthHidden;
$("#hiddenWorkArea").draggable({
containment:"parent",
start: function(event, ui) {
/*heightHidden = $("#hiddenWorkArea").css('height');
widthHidden = $("#hiddenWorkArea").css('width');
$("#hiddenWorkArea").css('height',$("#hiddenAxesY").css('height'));
$("#hiddenWorkArea").css('width',parseInt($("#hiddenAxesX").css('width')) + parseInt($("#hiddenAxesY").css('width')));*/
},
stop: function(event, ui) {
//$("#hiddenWorkArea").css('height',heightHidden);
//$("#hiddenWorkArea").css('width',widthHidden);
$("#myCanvas").offset({top:$('#hiddenCanvas').offset().top + parseInt($("#hiddenCanvas").css('border-width')), left:$('#hiddenCanvas').offset().left + parseInt($("#hiddenCanvas").css('border-width')),})
var top = parseInt($('#hiddenWorkArea').offset().top) - parseInt($('#hiddenCanvas').offset().top) - parseInt($('#hiddenCanvas').css('border-width')) ;
var left = parseInt($('#hiddenWorkArea').offset().left) - parseInt($('#hiddenCanvas').offset().left) - parseInt($('#hiddenCanvas').css('border-width'));
var right = parseInt($('#hiddenCanvas').css('width')) - left - parseInt($('#hiddenWorkArea').css('width'));
var bottom = parseInt($('#hiddenCanvas').css('height')) - top - parseInt($('#hiddenWorkArea').css('height'))
bar._chartGutter._top = top;
bar._chartGutter._bottom = bottom;
bar._chartGutter._left = left;
bar._chartGutter._right = right;
upOptions();
//$('#hiddenCanvas').removeClass('opacitBack');
}
});
$("#hiddenCanvas").resizable({
handles:"all",
ghost: true,
start: function(event, ui) {
//$('#hiddenCanvas').css('background', '#b2b2b2');
$('#hiddenCanvas').addClass('opacitBack');
},
stop: function(event, ui) {
$("#myCanvas").offset({top:$('#hiddenCanvas').offset().top + parseInt($("#hiddenCanvas").css('border-width')), left:$('#hiddenCanvas').offset().left + parseInt($("#hiddenCanvas").css('border-width')),})
$("#myCanvas").css('height',$('#hiddenCanvas').css('height'));
$("#myCanvas").css('width',$('#hiddenCanvas').css('width'))
myCanvas.width = parseInt($('#hiddenCanvas').css('width'));
myCanvas.height = parseInt($('#hiddenCanvas').css('height'));
$('#hiddenCanvas').removeClass('opacitBack');
upOptions();
}
});
$("#hiddenWorkArea").resizable({
containment:"parent",
handles:"all",
stop: function(event, ui) {
//$("#hiddenWorkArea").css('height',heightHidden);
//$("#hiddenWorkArea").css('width',widthHidden);
$("#myCanvas").offset({top:$('#hiddenCanvas').offset().top + parseInt($("#hiddenCanvas").css('border-width')), left:$('#hiddenCanvas').offset().left + parseInt($("#hiddenCanvas").css('border-width')),})
var top = parseInt($('#hiddenWorkArea').offset().top) - parseInt($('#hiddenCanvas').offset().top) - parseInt($('#hiddenCanvas').css('border-width')) ;
var left = parseInt($('#hiddenWorkArea').offset().left) - parseInt($('#hiddenCanvas').offset().left) - parseInt($('#hiddenCanvas').css('border-width'));
var right = parseInt($('#hiddenCanvas').css('width')) - left - parseInt($('#hiddenWorkArea').css('width'));
var bottom = parseInt($('#hiddenCanvas').css('height')) - top - parseInt($('#hiddenWorkArea').css('height'))
bar._chartGutter._top = top;
bar._chartGutter._bottom = bottom;
bar._chartGutter._left = left;
bar._chartGutter._right = right;
upOptions();
//$('#hiddenCanvas').removeClass('opacitBack');
}
});
document.onclick = function( e )
{
if('myCanvas' != e.target.id && 'hiddenCanvas' != e.target.id && 'hiddenWorkArea' != e.target.id)
$('#hiddenCanvas').hide();
else
$('#hiddenCanvas').show();
}
});
function reBuild()
{
var bar1 = new OfficeExcel.Line('myCanvas', data);
bar1._chartGutter = bar._chartGutter;
bar1._chartTitle = bar._chartTitle;
bar1._otherProps = bar._otherProps;
bar1._shadow = bar._shadow;
bar1._tooltip = bar._tooltip;
bar1._xAxisTitle = bar._xAxisTitle;
bar1._yAxisTitle = bar._yAxisTitle;
bar1._zoom = bar._zoom;
bar1.Draw();
bar = bar1;
}
function forArBack(value)
{
var styleMass = [allBackground,gradBackground,pictireBackground,colorBackground,autoBackground];
//addOptions('chart.background.image',null);
bar._otherProps._background_image = null;
//addOptions('chart.background.barcolor1','rgba(0,0,0,0)');
bar._otherProps._background_barcolor1 = 'rgba(0,0,0,0)';
//addOptions('chart.background.barcolor2','rgba(0,0,0,0)');
bar._otherProps._background_barcolor2 = 'rgba(0,0,0,0)';
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forArBackAM(value)
{
var styleMass = [allBackgroundAM,gradBackgroundAM,pictireBackgroundAM,colorBackgroundAM,autoBackgroundAM];
//addOptions('chart.background.image',null);
value = value.value;
if('notBackgroundAM' == value)
bar._otherProps._colors = ['rgba(0,0,0,0)']
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forNameBack(value)
{
var styleMass = [allNBackground,gradNBackground,pictireNBackground,colorNBackground,autoNBackground];
if('notNBackground' == value)
{
//addOptions('chart.title.background',null);
bar._chartTitle._background = null;
upOptions();
}
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forNameXBack(value)
{
var styleMass = [allNXBackground,gradNXBackground,pictireNXBackground,colorNXBackground,autoNXBackground];
if('notNXBackground' == value)
{
//addOptions('chart.title.xaxis.font',null);
bar._xAxisTitle.font = null;
upOptions();
}
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forNameYBack(value)
{
var styleMass = [allNYBackground,gradNYBackground,pictireNYBackground,colorNYBackground,autoNYBackground];
if('notNYBackground' == value)
{
//addOptions('chart.title.yaxis.font',null);
bar._yAxisTitle.font = null;
upOptions();
}
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forAXOpInt(value)
{
//var styleMass = [autoIntAX,valIntAX];
if(value == 'valIntAX')
{
$('#optionsXVal').attr('disabled',false);
}
else
$('#optionsXVal').attr('disabled','disabled');
}
function OYtoOX(value)
{
//var styleMass = [autoIntAX,valIntAX];
if(value == 'valMax')
{
//addOptions('chart.yaxispos','right');
bar._otherProps._yaxispos = 'right';
}
else
{
//addOptions('chart.yaxispos','left');
bar._otherProps._yaxispos = 'left';
}
upOptions();
}
function aMForAllMarker(value)
{
var styleMass = [notMainLine,mainLine,gradMainLine,autoMainLine]
if('notMainLine' == value)
{
//addOptions('chart.linewidth',0.01);
bar._otherProps._linewidth = 0.01;
}
else
{
//addOptions('chart.linewidth',1.01);
bar._otherProps._linewidth = $('#widthLineGraph').val();
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function MForAllMarker(value)
{
var styleMass = [notMainLine,mainLine,gradMainLine,autoMainLine]
if('notMainLine' == value)
{
//addOptions('chart.linewidth',0.01);
bar._otherProps._linewidth = 0.01;
}
else
{
//addOptions('chart.linewidth',1.01);
bar._otherProps._linewidth = $('#widthLineGraph').val();
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forKeyBackColor(value)
{
var styleMass = [allKeyBackColor,gradKeyBackColor,pictireKeyBackColor,colorKeyBackColor,autoKeyBackColor]
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forKeyColor(value)
{
var styleMass = [allKeyColor,gradKeyColor,autoKeyColor]
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forAYBack(value)
{
var styleMass = [allBackgroundAY,gradBackgroundAY,pictireBackgroundAY,colorBackgroundAY,autoBackgroundAY];
if('notBackgroundAY' == value)
{
//addOptions('chart.ylabels.inside',false);
bar._otherProps._ylabels_inside = false;
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forAYCol(value)
{
var styleMass = [allColorAY,gradColorAY,autoColorAY];
if('notColorAY' == value)
{
//addOptions('chart.noaxes',true);
bar._otherProps._noaxes = true;
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forAXCol(value)
{
var styleMass = [allColorAX,gradColorAX,autoColorAX];
if('notColorAX' == value)
{
//addOptions('chart.noaxes',true);
bar._otherProps._noaxes = true;
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function aMForAllMarkerLine(value)
{
var styleMass = [notMarkerLine,markerLine,gradMarkerLine,autoMarkerLine];
//if('notMarkerLine' == value)
//addOptions('chart.noaxes',true);
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forAXBack(value)
{
var styleMass = [allBackgroundAX,gradBackgroundAX,pictireBackgroundAX,colorBackgroundAX,autoBackgroundAX];
if('notBackgroundAX' == value)
{
//addOptions('chart.xlabels.inside',false);
bar._otherProps.xlabels_inside = false;
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forAllMarker1(value)
{
if(value == 'notOptionsMarker')
{
//addOptions('chart.tickmarks',0);
//addOptions('chart.ticksize',0);
bar._otherProps._tickmarks = 0;
bar._otherProps._ticksize = 0;
upOptions();
return;
}
var styleMass = [insideOptionsMarker]
if(value == 'insideOptionsMarker')
{
//addOptions('chart.ticksize','1');
//addOptions('chart.tickmarks','circle');
bar._otherProps._ticksize = 1;
bar._otherProps._tickmarks = 'circle';
}
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function forLineGrid(value)
{
var styleMass = [allLineGrid,gradLineGrid,autoLineGrid]
var gridDefault;
if('notLineGrid' == value)
gridDefault = false
else
gridDefault = true;
//addOptions('chart.background.grid.vlines',gridDefault);
//addOptions('chart.background.grid.hlines',gridDefault);
bar._otherProps._background_grid_vlines = gridDefault;
bar._otherProps._background_grid_hlines = gridDefault;
upOptions();
for (var i=0; i < styleMass.length; i++)
{
var temp = '#' + styleMass[i].id;
$(temp).hide();
}
var valueInput = '#' + value;
$(valueInput).show();
}
function sizeChange(value)
{
var valueSize = value.value;
//addOptions('chart.background.grid.width',valueSize);
bar._otherProps._background_grid_width = valueSize;
upOptions();
}
function sizeMarkerChange(value)
{
var valueSize = value.value;
//addOptions('chart.ticksize',valueSize);
bar._otherProps._ticksize = valueSize;
upOptions();
}
function sizeLineChange(value)
{
var valueSize = value.value;
//addOptions('chart.linewidth',parseInt(valueSize));
bar._otherProps._linewidth = parseInt(valueSize);
upOptions();
}
function sizeAYChange(value)
{
var valueSize = value.value;
addOptions('chart.axis.linewidth',parseInt(valueSize));
//bar._otherProps._linewidth = valueSize;
//upOptions();
}
function sizeAXChange(value)
{
var valueSize = value.value;
addOptions('chart.axis.linewidth',parseInt(valueSize));
bar._otherProps._linewidth = valueSize;
//upOptions();
}
function sizeMarLineChange(value)
{
var valueSize = value.value;
//addOptions('chart.tickmarks.linewidth',parseInt(valueSize));
bar._otherProps._tickmarks_linewidth = parseInt(valueSize);
upOptions();
}
function typeMarkerChange(value)
{
var valueType = value.value;
//addOptions('chart.tickmarks',valueType);
bar._otherProps._tickmarks = valueType;
upOptions();
}
function checkCurvyline(value)
{
//addOptions('chart.curvy',value.checked);
bar._otherProps._curvy = value.checked;
upOptions();
}
function showWorkFunction(value)
{
if(true == value.checked)
$('.notFunction').css('display','none');
else
$('.notFunction').css('display','block');
}
function showAllOptions(value)
{
if(true == value.checked)
$('#showAllOptions').css('display','block');
else
$('#showAllOptions').css('display','none');
}
function checkKeyOnD(value)
{
var check;
if(false == value.checked)
check = 'graph'
else
check = 'gutter'
//addOptions('chart.key.position',check);
bar._otherProps._key_position = check;
upOptions();
}
function invertY(value)
{
//addOptions('chart.ylabels.invert',value.checked);
bar._otherProps._ylabels_invert = value.checked;
upOptions();
}
function shadowLineChange(value)
{
var valueSize = value.value;
if('false' == valueSize)
valueSize = false;
//addOptions('chart.shadow',valueSize);
bar._shadow._visible = valueSize;
upOptions();
}
function shadowKeyChange(value)
{
var valueSize = value.value;
if('false' == valueSize)
valueSize = false;
//addOptions('chart.key.shadow',valueSize);
bar._otherProps._key_shadow = valueSize;
upOptions();
}
function forKeyOptions(value)
{
var positionKey = bar._otherProps._key_position;
var valueSize = value;
if('graph' == positionKey)
{
var width = $('#myCanvas').css('width').replace('px','');
var height = $('#myCanvas').css('height').replace('px','');
var x =0;var y = 0;
if('left' == valueSize)
{
x = 0;y = height/2;
}
else if('right' == valueSize)
{
x = width;y = height/2;
}
else if('bottom' == valueSize)
{
x = width/2;y = height - 50;
}
else if('top' == valueSize)
{
x = width/2;y = 0;
}
//addOptions('chart.key.position.x',x);
//addOptions('chart.key.position.y',y);
bar._otherProps._key_position_x= x;
bar._otherProps._key_position_y= y;
}
else
{
var width = $('#myCanvas').css('width').replace('px','');
var height = $('#myCanvas').css('height').replace('px','');
var x =0;var y = 0;
if('left' == valueSize)
{
x = 0;y = height/2;
}
else if('right' == valueSize)
{
x = width;y = height/2;
}
else if('bottom' == valueSize)
{
x = width/2;y = 0;
}
else if('top' == valueSize)
{
x = width/2;y = height;
}
//addOptions('chart.key.position.x',x);
//addOptions('chart.key.position.y',y);
bar._otherProps._key_position_x= x;
bar._otherProps._key_position_y= y;
}
upOptions();
//addOptions('chart.key.halign',value);
}
function sizeKeyWidthChange(value)
{
var valueSize = value.value;
//addOptions('chart.key.linewidth',parseInt(valueSize));
bar._otherProps._key_linewidth= parseInt(valueSize);
upOptions();
}
function cFlatXChange(value)
{
//addOptions('chart.text.angle',parseInt(value.value));
bar._otherProps._text_angle= parseInt(value.value);
upOptions();
}
function changeDiagram(value)
{
var valueSize = value.value;
if(valueSize == '1')
{
addOptions('chart.title',' ');
addOptions('chart.title.xaxis',' X');
addOptions('chart.title.yaxis',' Y');
}
else if(valueSize == '2')
{
addOptions('chart.title',' ');
addOptions('chart.title.xaxis','');
addOptions('chart.title.yaxis',' Y');
}
else if(valueSize == '3')
{
addOptions('chart.title',' ');
addOptions('chart.title.xaxis','');
addOptions('chart.title.yaxis','');
}
else if(valueSize == '4')
{
addOptions('chart.title','');
addOptions('chart.title.xaxis','');
addOptions('chart.title.yaxis','');
}
}
function insertAllOptions()
{
var allOptions = ['chart.background.barcolor1','chart.background.barcolor2','chart.background.grid','chart.background.grid.color','chart.background.hbars','chart.background.grid.hsize','chart.background.grid.vsize','chart.background.grid.width','chart.background.grid.border','chart.background.grid.hline','chart.background.grid.vline','chart.background.grid.autofit','chart.background.grid.autofit.numhlines','chart.background.grid.autofit.numvlines','chart.background.grid.autofit.align','chart.background.image','chart.background.image.stretch','chart.background.image.x','chart.background.image.y','chart.background.image.w','chart.background.image.h','chart.background.image.align','chart.backdrop','chart.backdrop.size','chart.backdrop.alpha','chart.labels.above','chart.labels.above.size','chart.labels','chart.labels.ingraph','chart.ylabels','chart.ylabels.invert','chart.ylabels.count','chart.ylabels.inside','chart.ylabels.inside.color','chart.ylabels.specific','chart.xlabels.inside','chart.xlabels.inside.color','chart.text.size','chart.text.angle','chart.text.font','chart.text.color','chart.gutter.left','chart.gutter.right','chart.gutter.top','chart.gutter.bottom','chart.hmargin','chart.colors','chart.colors.alternate','chart.fillstyle','chart.filled','chart.filled.accumulative','chart.filled.range','chart.shadow','chart.shadow.color','chart.shadow.offsetx','chart.shadow.offsety','chart.shadow.blur','chart.tooltips','chart.tooltips.effect','chart.tooltips.css.class','chart.tooltips.override','chart.tooltips.highlight','chart.tooltips.hotspot.xonly','chart.tooltips.coords.page','chart.tooltips.hotspot.size','chart.crosshairs','chart.crosshairs.linewidth','chart.crosshairs.color','chart.crosshairs.hlines','chart.crosshairs.vlines','chart.contextmenu','chart.annotatable','chart.annotate.color','chart.resizable','chart.resize.handle.background','chart.adjustable','chart.title','chart.title.font','chart.title.size','chart.title.bold','chart.title.background','chart.title.vpos','chart.title.color','chart.title.xaxis','chart.title.xaxis.size','chart.title.xaxis.font','chart.title.xaxis.bold','chart.title.yaxis','chart.title.yaxis.size','chart.title.yaxis.font','chart.title.yaxis.bold','chart.title.xaxis.pos','chart.title.yaxis.pos','chart.title.yaxis.align','chart.key','chart.key.background','chart.key.halign','chart.key.position','chart.key.position.x','chart.key.position.y','chart.key.position.gutter.boxed','chart.key.shadow','chart.key.shadow.color','chart.key.shadow.blur','chart.key.shadow.offsetx','chart.key.shadow.offsety','chart.key.rounded','chart.key.color.shape','chart.key.linewidth','chart.key.interactive','chart.key.colors','chart.units.post','chart.units.pre','chart.scale.decimals','chart.scale.point','chart.scale.thousand','chart.scale.round','chart.ymin','chart.ymax','chart.outofbounds','chart.numxticks','chart.numyticks','chart.ticksize','chart.tickdirection','chart.axis.color','chart.xaxispos','chart.yaxispos','chart.noaxes','chart.axesontop','chart.noendxtick','chart.noendytick','chart.zoom.factor','chart.zoom.fade.in','chart.zoom.fade.out','chart.zoom.hdir','chart.zoom.vdir','chart.zoom.delay','chart.zoom.frames','chart.zoom.shadow','chart.zoom.background','chart.events.click','chart.events.mousemove','chart.tickmarks','chart.tickmarks.dot.color','chart.tickmarks.linewidth','chart.stepped','chart.linewidth','chart.variant','chart.animation.unfold.x','chart.animation.unfold.y','chart.animation.unfold.initial','chart.chromefix','chart.highlight.stroke','chart.highlight.fill','chart.curvy','chart.curvy.factor'];
var allDefaultOptions = ['Default: rgba(0,0,0,0)','Default: rgba(0,0,0,0)','Default: true','Default: #eee','Default: null','Default: 25','Default: 25','Default: 1','Default: true','Default: true','Default: true','Default: true','Default: 5','Default: 20','Default: false','Default: null','Default: true','Default: null','Default: null','Default: null','Default: null','Default: null','Default: false','Default: 30','Default: 0.2','Default: false','Default: 8','Default: [] (An empty array)','Default: null','Default: true','Default: false','Default: 5','Default: false','Default: rgba(255,255,255,0.5)','Default:null','Default: false','Default: rgba(255,255,255,0.5)','Default: 10','Default: 0 (Horizontal)','Default: Arial','Default: black','Default: 25','Default: 25','Default: 25','Default: 25','Default: 0','Default: ["#f00", "#0f0", "", #00f", "#f0f", "#ff0", "#0ff"]','Default: false','Default: null','Default: false','Default: true','Default: false','Default: false','Default: rgba(0,0,0,0.5)','Default: 3','Default: 3','Default: 3','Default: [] (An empty array)','Default: fade','Default: RGraph_tooltip','Default: null','Default: true','Default: false','Default:alse','Default: 5','Default: false','Default: 1','Default: #333','Default: true','Default: true','Default: [] (An empty array)','Default: false','Default: black','Default: false','Default:ull','Default: false','Default: none','Default: null','Default: null','Default: true','Default: null','Default: null','Default: black','Default: none','Default: null','Default: null','Default: true','Default: none','Default: null','Default: null','Default: true','Default: 0.25','Default: 0.25','Default: left','Default: [] (An empty array)','Default: white','Default: null','Default: graph','Default: null','Default: null','Default: true','Default: false','Default: #666','Default: 3','Default: 2','Default: 2','Default: false','Default: square','Default: 1','Default: false','Default: null','Default: none','Default: none','Default: 0','Default: .','Default: ,','Default: null','Default: null','Default: null ','Default: false','Default: null (linked to number of datapoints)','Default: 10','Default: 3','Default: -1 (-1s below, 1 is above)','Default: black','Default: bottom','Default: left','Default: false (the axes ARE drawn)','Default: false','Default: false (the end tick IS drawn)','Default: false (the end tick ISrawn)','Default: 1.5','Default: true','Default: true','Default: right','Default: down','Default: 50','Default: 10','Default: true','Default: true','Default: null','Default: null','Default: null','Default:#fff','Default: null','Default: false','Default: 1','Default: null','Default: false','Default: true','Default: 2','Default: true','Default: black','Default: rgba(255,255,255,0.5)','Default: false','Default: 0.25'];
for (var i=0; i < allOptions.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = allOptions[i];
option.value = allDefaultOptions[i];
$('#TEST11').append(option);
}
}
function allFunction(value)
{
$('#defaultValue')[0].innerText = $('#TEST11').val();
}
function insertAllGraphs()
{
//var allOptions = ['Bar','Bipolar','HorizontalBar','Line','Pie','Donut','Gantt','Funnel','Waterfall','Fuel gauges','Gauge','Horizontal progress bars','Meter','Odometer','Thermometer','Vertical progress bars','LED grids','Radar ','Radial scatter','Rose','Scatter'];
var allOptions = ['Bar','Bipolar','HorizontalBar','Line','Pie','Donut','Waterfall','Radar ','Rscatter','Rose','Scatter'];
for (var i=0; i < allOptions.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = allOptions[i];
$('#varGraph').append(option);
}
}
function insertDiffOptions()
{
var otherProps = ['_accumulative: false','_adjustable: false','_align: "center"','_animation_factor: 1','_animation_grow_factor: 1','_animation_unfold_initial: 2','_animation_unfold_x: false','_animation_unfold_y: true','_annotatable: false','_annotate_color: "black"','_axesontop: false','_axis_color: "black"','_backdrop: false','_backdrop_alpha: 0.2','_backdrop_size: 30','_background_barcolor1: "rgba(0,0,0,0)"','_background_barcolor2: "rgba(0,0,0,0)"','_background_circles: true','_background_grid: true','_background_grid_autofit: true','_background_grid_autofit_align: false','_background_grid_autofit_numhlines: 5','_background_grid_autofit_numvlines: 20','_background_grid_border: true','_background_grid_color: "#ddd"','_background_grid_hlines: true','_background_grid_hsize: 30','_background_grid_vlines: true','_background_grid_vsize: 21.5','_background_grid_width: 1','_background_hbars: null','_background_image: null','_background_image_align: null','_background_image_stretch: true','_background_image_x: null','_background_image_y: null','_background_vbars: null','_border: false','_border_color: "rgba(255,255,255,0.5)"','_borders: true','_boxplot_capped: true','_boxplot_width: 1','_centerx: null','_centery: null','_chromefix: true','_circle: 0','_circle_fill: "red"','_circle_stroke: "black"','_colors: Array[6]','_colors_alpha: null','_colors_alternate: null','_colors_default: "black"','_colors_reverse: false','_colors_sequential: false','_contextmenu: null','_contextmenu_bg: null','_contextmenu_submenu: null','_crosshairs: false','_crosshairs_color: "#333"','_crosshairs_coords: false','_crosshairs_coords_fadeout: false','_crosshairs_coords_fixed: true','_crosshairs_coords_labels_x: "X"','_crosshairs_coords_labels_y: "Y"','_crosshairs_hline: true','_crosshairs_linewidth: 1','_crosshairs_vline: true','_curvy: false','_curvy_factor: 0.25','_defaultcolor: "white"','_effect_roundrobin_multiplier: 1','_events: Array[0]','_events_click: null','_events_mousemove: null','_events_mousemove_revertto: null','_exploded: 0','_filled: false','_filled_accumulative: true','_filled_range: false','_fillstyle: null','_grouping: "grouped"','_gutter_center: 60','_highlight_fill: "rgba(255,255,255,0.5)"','_highlight_stroke: "black"','_highlight_style: "explode"','_highlight_style_2d_fill: "rgba(255,255,255,0.5)"','_highlight_style_2d_stroke: "rgba(255,255,255,0)"','_hmargin: 5','_key: Array[1]','_key_background: "white"','_key_color_shape: "square"','_key_colors: null','_key_halign: "right"','_key_interactive: false','_key_linewidth: 1','_key_position: "graph"','_key_position_gutter_boxed: true','_key_position_x: null','_key_position_y: null','_key_rounded: true','_key_shadow: false','_key_shadow_blur: 3','_key_shadow_color: "#666"','_key_shadow_offsetx: 2','_key_shadow_offsety: 2','_key_text_size: 10','_labels: Array[9]','_labels_above: false','_labels_above_angle: null','_labels_above_decimals: 0','_labels_above_size: null','_labels_align: "bottom"','_labels_axes: ""','_labels_ingraph: null','_labels_offset: 0','_labels_offsetx: 10','_labels_offsety: 10','_labels_position: "center"','_labels_specific: null','_labels_specific_align: "left"','_labels_sticks: false','_labels_sticks_color: "#aaa"','_labels_sticks_length: 7','_largexticks: 5','_largeyticks: 5','_line: false','_line_colors: Array[2]','_line_linewidth: 1','_line_shadow_blur: 2','_line_shadow_color: "rgba(0,0,0,0)"','_line_shadow_offsetx: 3','_line_shadow_offsety: 3','_line_stepped: false','_line_visible: true','_linewidth: 1.01','_margin: 2','_multiplier_w: 1','_multiplier_x: 1','_noaxes: false','_noendxtick: false','_noendytick: true','_noredraw: false','_noxaxis: false','_noyaxis: false','_numyticks: 10','_outofbounds: false','_radius: null','_resizable:false','_resize_handle_adjust: Array[2]','_resize_handle_background: null','_scale_decimals: 0','_scale_formatter: null','_scale_point: "."','_scale_round: false','_scale_thousand: ","','_segments: Array[0]','_smallxticks: 3','_smallyticks: 3','_stepped: false','_strokecolor: "#666"','_text_angle: 0','_text_color: "black"','_text_font: "Arial"','_text_size: 10','_tickdirection: -1','_tickmarks: null','_tickmarks_dot_color: "white"','_tickmarks_linewidth: null','_ticksize: 3','_title_left: ""','_title_right: ""','_title_yaxis_align: "left"','_title_yaxis_position: "left"','_total: true','_units_ingraph: false','_units_post: ""','_units_pre: ""','_variant: null','_vmargin: 3','_xaxis: true','_xaxispos: "bottom"','_xlabels: true','_xlabels_inside: false','_xlabels_inside_color: "rgba(255,255,255,0.5)"','_xlabels_offset: 0','_xmax: 0','_xmin: 0','_xscale: false','_xscale_formatter: null','_xscale_numlabels: 10','_xscale_units_post: ""','_xscale_units_pre: ""','_xtickinterval: null','_xticks: null','_yaxispos: "left"','_ylabels: true','_ylabels_count: 5','_ylabels_inside: false','_ylabels_inside_color: null','_ylabels_invert: false','_ylabels_specific: null','_ymax: 0','_ymin: 0'];
var chartGutter = ['_bottom: 50','_left: 100','_right: 70','_top: 50'];
var chartTitle = ['_background: null','_bold: true','_color: null','_font: null','_hpos: null','_size: null','_text: ""','_vpos: null'];
var shadow = ['_blur: 3','_color: "rgba(0,0,0,0.5)"','_offset_x: 2','_offset_y: 2','_visible: false']
var xAxisTitle = ['_background: null','_bold: true','_color: null','_font: null','_hpos: null','_size: null','_text: ""','_vpos: null'];
var yAxisTitle = ['_background: null','_bold: true','_color: null','_font: null','_hpos: null','_size: null','_text: ""','_vpos: null'];
var zoom = ['_action: "zoom"','_background: true','_delay: 16.666','_factor: 1.5','_fade_in: true','_fade_out: true','_frames: 25','_hdir: "right"','_mode: "canvas"','_shadow: true','_thumbnail_fixed: false','_thumbnail_height: 75','_thumbnail_width: 75','_vdir: "down"'];
var tooltip = ['_coords_adjust: null','_css_class: "OfficeExcel_tooltip"','_effect: "fade"','_event: "onmousemove"','_highlight: true','_hotspot: 3','_hotspot_xonly: false','_override: null','_tooltips: null']
for (var i=0; i < otherProps.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = otherProps[i];
$('#otherProps').append(option);
}
for (var i=0; i < chartGutter.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = chartGutter[i];
$('#chartGutter').append(option);
}
for (var i=0; i < chartTitle.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = chartTitle[i];
$('#chartTitle').append(option);
}
for (var i=0; i < shadow.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = shadow[i];
$('#shadow').append(option);
}
for (var i=0; i < xAxisTitle.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = xAxisTitle[i];
$('#xAxisTitle').append(option);
}
for (var i=0; i < yAxisTitle.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = yAxisTitle[i];
$('#yAxisTitle').append(option);
}
for (var i=0; i < zoom.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = zoom[i];
$('#zoom').append(option);
}
for (var i=0; i < tooltip.length; i++)
{
var option = document.createElement( 'option' );
option.innerText = tooltip[i];
$('#tooltip').append(option);
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment