1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 | <?php /* index.php - Sandbox web frontend Version : 1.1.0 Made by : Jean-Damien POGOLOTTI Last Update : 18/01/11 This file can be distributed under the license you can find at : http://www.pchart.net/license You can find the whole class documentation on the pChart web site. */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Sandbox system</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> <meta name='description' content='pChart is an object oriented php charting library'/> <meta name='keywords' content='pchart, php chart, charting library, php charting'/> <link rel='stylesheet' type='text/css' href='style.css'/> <link rel='shortcut icon' href='images/favicon.ico'/> <script type='text/javascript' src='includes/rounded_corners_lite.inc.js'></script> <script type='text/javascript' src='includes/jscolor.js'></script> <script type='text/javascript' src='includes/functions.js'></script> </head> <body> <table style=''><tr><td> <table style='padding: 2px; background-color: #E0E0E0; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'> <div class='topMenu' id='menu1' onmouseover='highlightDIV(1);' onmouseout='clearDIV(1);' onclick='toggleDIV(1);'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td> <td class='topMenu'> General settings </td> </tr></table> </div> </td> <td class='topMenu' width='5'></td> <td class='topMenu'> <div class='topMenu' id='menu2' onmouseover='highlightDIV(2);' onmouseout='clearDIV(2);' onclick='toggleDIV(2);'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td> <td class='topMenu'> Data </td> </tr></table> </div> </td> <td class='topMenu' width='5'></td> <td class='topMenu'> <div class='topMenu' id='menu3' onmouseover='highlightDIV(3);' onmouseout='clearDIV(3);' onclick='toggleDIV(3);'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td> <td class='topMenu'> Scale </td> </tr></table> </div> </td> <td class='topMenu' width='5'></td> <td class='topMenu'> <div class='topMenu' id='menu4' onmouseover='highlightDIV(4);' onmouseout='clearDIV(4);' onclick='toggleDIV(4);'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td> <td class='topMenu'> Chart </td> </tr></table> </div> </td> <td class='topMenu' width='5'></td> <td class='topMenu'> <div class='topMenu' id='menu5' onmouseover='highlightDIV(5);' onmouseout='clearDIV(5);' onclick='toggleDIV(5);'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td> <td class='topMenu'> Legend, thresholds & Misc </td> </tr></table> </div> </td> </tr></table> </td> <td width='5'></td> <td> <table style='padding: 2px; background-color: #D0D0D0; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'> <div class='topMenu' id='menu6' onmouseover='highlightDIV(6);' onmouseout='clearDIV(6);' onclick='code();'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/cog.png' width='16' height='16' alt=''/></td> <td class='topMenu'> Show code </td> </tr></table> </div> </td> <td class='topMenu' width='5'></td> <td class='topMenu'> <div class='topMenu' id='menu7' onmouseover='highlightDIV(7);' onmouseout='clearDIV(7);' onclick='render();'> <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr> <td class='topMenu'><img src='graphix/accept.png' width='16' height='16' alt=''/></td> <td class='topMenu'> Render picture </td> </tr></table> </div> </td> </tr></table> </td></tr></table> <table><tr><td valign='top'> <div class="roundedCorner" id='tab1' style='margin-top: 30px; margin-left: 20px; width: 350px; height: 420px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/wrench.png' width='16' height='16' alt=''/></td> <td width='300'><b>General settings</b></td> </tr></table> <br/> <table><tr> <td>Width </td> <td><input type='text' id='g_width' value='700' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' onkeyup='doLayout();' /></td> <td> Height </td> <td><input type='text' id='g_height' value='230' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' onkeyup='doLayout();' /></td> <td> <input type='checkbox' id='g_transparent' /></td> <td>Transparent background</td> </tr></table> <table><tr> <td><input type='checkbox' id='g_aa' checked='checked' /></td> <td>Turn on antialiasing</td> <td> <input type='checkbox' id='g_shadow' checked='checked' /></td> <td>Enable shadow</td> <td> <input type='checkbox' id='g_border' checked='checked' /></td> <td>with a border</td> </tr></table> <table><tr> <td><input type='checkbox' id='g_autopos' checked='checked' onclick='toggleAuto();' /></td> <td>Automatic positioning of the elements</td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/comment.png' width='16' height='16' alt=''/></td> <td width='240'><b>Chart title</b></td> <td width='20'><input type='checkbox' id='g_title_enabled' checked='checked' /></td> <td width='38'>Enabled</td> </tr></table> <br/> <table><tr> <td width='55'>Chart Title</td> <td><input type='text' id='g_title' value='My first pChart project' style='width: 260px;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <table><tr> <td width='147'>Alignement method (<a class='smallLinkBlack' target='_new' href='http://wiki.pchart.net/doc.draw.text.html'>help</a>)</td> <td><select id='g_title_align'><?php listalign(); ?></select></td> </tr></table> <table><tr> <td width='55'>X position </td> <td><input type='text' id='g_title_x' value='350' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Y position </td> <td><input type='text' id='g_title_y' value='25' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Color </td> <td><input type='text' class='color' id='g_title_color' value='#FFFFFF' style='text-align: center; width: 60px;' onchange='applyColor("g_title_color","g_title_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='g_title_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> </tr></table> <table><tr> <td width='55'>Font name </td> <td><select id='g_title_font'><?php listfonts(); ?></select></td> <td> Size </td> <td><input type='text' id='g_title_font_size' value='14' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='g_title_box' /></td> <td>in a box</td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding:1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/paintcan.png' width='16' height='16' alt=''/></td> <td width='240'><b>Solid background</b></td> <td width='20'><input type='checkbox' id='g_solid_enabled' checked='checked' /></td> <td width='38'>Enabled</td> </tr></table> <br/> <table><tr> <td width='55'>Color</td> <td><input type='text' class='color' id='g_solid_color' value='#AAB757' style='text-align: center; width: 60px;' onchange='applyColor("g_solid_color","g_solid_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td width='40'><div id='g_solid_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> <td width='20'><input type='checkbox' id='g_solid_dashed' checked='checked' /></td> <td width='38'>Dashed</td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding:1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/paintcan.png' width='16' height='16' alt=''/></td> <td width='240'><b>Gradient background</b></td> <td width='20'><input type='checkbox' id='g_gradient_enabled' checked='checked' /></td> <td width='38'>Enabled</td> </tr></table> <br/> <table><tr> <td width='55'>Start color</td> <td><input type='text' class='color' id='g_gradient_start' value='#DBE78B' style='text-align: center; width: 60px;' onchange='applyColor("g_gradient_start","g_gradient_start_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td width='55'><div id='g_gradient_start_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> <td width='54'>End color </td> <td><input type='text' class='color' id='g_gradient_end' value='#018A44' style='text-align: center; width: 60px;' onchange='applyColor("g_gradient_end","g_gradient_end_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='g_gradient_end_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> </tr></table> <table><tr> <td width='55'>Direction</td> <td width='75'><select id='g_gradient_direction'><option value='vertical'>Vertical</option><option value='horizontal'>Horizontal</option></select></td> <td width='100'> Alpha transparency</td> <td><input type='text' id='g_gradient_alpha' value='50' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td>%</td> </tr></table> </div> <div class="roundedCorner" id='tab2' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 455px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/database_table.png' width='16' height='16' alt=''/></td> <td width='300'><b>Dataset definition</b></td> </tr></table> <br/> <table> <tr> <td width='46'></td> <td width='65'><center>Serie 1</center></td> <td width='65'><center>Serie 2</center></td> <td width='65'><center>Serie 3</center></td> <td width='65'><center>Absissa</center></td> </tr> <tr> <td>Enabled</td> <td><center><input type='checkbox' id='d_serie1_enabled' checked='checked' onclick='checkEnabledAxis();' /></center></td> <td><center><input type='checkbox' id='d_serie2_enabled' checked='checked' onclick='checkEnabledAxis();' /></center></td> <td><center><input type='checkbox' id='d_serie3_enabled' checked='checked' onclick='checkEnabledAxis();' /></center></td> <td><center><input type='checkbox' id='d_absissa_enabled' checked='checked' /></center></td> </tr> </table> <table> <tr> <td width='46'>Name</td> <td width='65'><center><input type='text' id='d_serie1_name' value='Serie 1' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td width='65'><center><input type='text' id='d_serie2_name' value='Serie 2' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td width='65'><center><input type='text' id='d_serie3_name' value='Serie 3' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td width='65'><center>-</center></td> </tr> <tr> <td width='46'>Binding</td> <td width='65'><center><select id='d_serie1_axis' style='width: 54px;' onchange='checkEnabledAxis();'><?php listaxis(); ?></select></center></td> <td width='65'><center><select id='d_serie2_axis' style='width: 54px;' onchange='checkEnabledAxis();'><?php listaxis(); ?></select></center></td> <td width='65'><center><select id='d_serie3_axis' style='width: 54px;' onchange='checkEnabledAxis();'><?php listaxis(); ?></select></center></td> <td width='65'><center>-</center></td> </tr> <?php for($i=0; $i<8;$i++) { ?> <tr> <?php if ( $i == 0 ) { ?> <td>Data</td> <?php } else { ?> <td></td> <?php } ?> <td><center><input type='text' id='d_serie1_data<?php echo $i; ?>' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_serie2_data<?php echo $i; ?>' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_serie3_data<?php echo $i; ?>' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_absissa_data<?php echo $i; ?>' style='width: 60px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> </tr> <?php } ?> </table> <table> <tr> <td width='50'></td> <td><input type='checkbox' id='d_normalize_enabled' /></td> <td>normalize the datasets.</td> <td width='10'></td> <td>[ <a class='smallLinkBlack' href='javascript:randomize();'>randomize</a> ]</td> </tr> </table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/chart_bar_edit.png' width='16' height='16' alt=''/></td> <td width='300'><b>Axis position and units</b></td> </tr></table> <br/> <table> <tr> <td width='40'></td> <td width='90'><center><b>Axis 0</b></center></td> <td width='90'><center><b>Axis 1</b></center></td> <td width='90'><center><b>Axis 2</b></center></td> </tr> <tr> <td>Name</td> <td><center><input type='text' id='d_axis0_name' value='1st axis' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_axis1_name' value='2nd axis' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_axis2_name' value='3rd axis' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> </tr> <tr> <td>Unit</td> <td><center><input type='text' id='d_axis0_unit' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_axis1_unit' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> <td><center><input type='text' id='d_axis2_unit' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td> </tr> <tr> <td>Position</td> <td><center><select id='d_axis0_position' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxispos(); ?></select></center></td> <td><center><select id='d_axis1_position' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxispos(); ?></select></center></td> <td><center><select id='d_axis2_position' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxispos(); ?></select></center></td> </tr> <tr> <td>Format</td> <td><center><select id='d_axis0_format' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxisformat(); ?></select></center></td> <td><center><select id='d_axis1_format' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxisformat(); ?></select></center></td> <td><center><select id='d_axis2_format' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxisformat(); ?></select></center></td> </tr> </table> </div> <div class="roundedCorner" id='tab3' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 435px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/layout_edit.png' width='16' height='16' alt=''/></td> <td width='300'><b>Charting area definition</b></td> </tr></table> <br/> <table><tr> <td width='50'>X </td> <td><input type='text' id='s_x' value='70' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Y </td> <td><input type='text' id='s_y' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Width </td> <td><input type='text' id='s_width' value='590' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Height </td> <td><input type='text' id='s_height' value='140' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <table><tr> <td width='50'>Direction</td> <td width='160'><select id='s_direction' onchange='checkEnabledAxis();'><option value='SCALE_POS_LEFTRIGHT'>SCALE_POS_LEFTRIGHT</option><option value='SCALE_POS_TOPBOTTOM'>SCALE_POS_TOPBOTTOM</option></select></td> <td> <input type='checkbox' id='s_arrows_enabled' /></td> <td> with arrows</td> </tr></table> <table><tr> <td width='50'>Mode</td> <td width='160'><select id='s_mode'><option value='SCALE_MODE_FLOATING'>SCALE_MODE_FLOATING</option><option value='SCALE_MODE_START0'>SCALE_MODE_START0</option><option value='SCALE_MODE_ADDALL'>SCALE_MODE_ADDALL</option><option value='SCALE_MODE_ADDALL_START0'>SCALE_MODE_ADDALL_START0</option></select></td> <td> <input type='checkbox' id='s_cycle_enabled' checked='checked' /></td> <td> Background</td> </tr></table> <table><tr> <td width='50'>X Margin</td> <td width='35'><input type='text' id='s_x_margin' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td width='50'> Y Margin</td> <td width='68'><input type='text' id='s_y_margin' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='s_automargin_enabled' checked='checked' onclick='toggleAutoMargins();' /></td> <td> automatic</td> </tr></table> <table><tr> <td width='50'>Font</td> <td><select id='s_font'><?php listfonts("pf_arma_five"); ?></select></td> <td> Size </td> <td><input type='text' id='s_font_size' value='6' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Color </td> <td><input type='text' id='s_font_color' class='color' value='#000000' style='text-align: center; width: 50px;' onchange='applyColor("s_font_color","s_font_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='s_font_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/page_edit.png' width='16' height='16' alt=''/></td> <td width='300'><b>X Axis configuration</b></td> </tr></table> <br/> <table><tr> <td width='50'>Mode</td> <td><select id='s_x_labeling'><option value='LABELING_ALL'>LABELING_ALL</option><option value='LABELING_DIFFERENT'>LABELING_DIFFERENT</option></select></td> <td> Skip each</td> <td> <input type='text' id='s_x_skip' value='0' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> labels</td> </tr></table> <table><tr> <td width='50'>Rotation</td> <td><input type='text' id='s_x_label_rotation' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/page_edit.png' width='16' height='16' alt=''/></td> <td width='300'><b>Grid</b></td> </tr></table> <br/> <table><tr> <td width='70'>Grid color</td> <td><input type='text' id='s_grid_color' class='color' value='#FFFFFF' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("s_grid_color","s_grid_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='s_grid_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> <td> Alpha</td> <td> <input type='text' id='s_grid_alpha' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <table><tr> <td width='70'>Display</td> <td> <input type='checkbox' id='s_grid_x_enabled' checked='checked' /></td> <td> X Lines</td> <td> <input type='checkbox' id='s_grid_y_enabled' checked='checked' /></td> <td> Y Lines</td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/page_edit.png' width='16' height='16' alt=''/></td> <td width='300'><b>Ticks</b></td> </tr></table> <br/> <table><tr> <td width='70'>Ticks color</td> <td><input type='text' id='s_ticks_color' class='color' value='#000000' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("s_ticks_color","s_ticks_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='s_ticks_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> <td> Alpha</td> <td> <input type='text' id='s_ticks_alpha' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <table><tr> <td width='70'>Sub ticks color</td> <td><input type='text' id='s_subticks_color' class='color' value='#FF0000' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("s_subticks_color","s_subticks_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='s_subticks_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> <td> Alpha</td> <td> <input type='text' id='s_subticks_alpha' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='s_subticks_enabled' checked='checked' onclick='toggleSubTicks();' /></td> <td> enabled</td> </tr></table> </div> <div class="roundedCorner" id='tab4' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 420px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/wrench.png' width='16' height='16' alt=''/></td> <td width='300'><b>Chart</b></td> </tr></table> <br/> <table><tr> <td width='60'>Chart family</td> <td><select id='c_family' onchange='checkChartSettings();'><?php echo listCharts(); ?></select></td> <td> Break color</td> <td> <input type='text' id='c_break_color' class='color' value='#EA371A' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("c_break_color","c_break_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='c_break_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> </tr></table> <table><tr> <td width='60'>Settings : </td> <td><input type='checkbox' id='c_display_values' /></td> <td> Display values</td> <td> <input type='checkbox' id='c_break' /></td> <td> Don't break on VOID</td> </tr></table> <div style='background: #D2F5C1; padding: 4px; color: #667309; margin-top: 10px;'> <table><tr> <td width='20'><img src='graphix/comment.png' width='16' height='16' alt=''/></td> <td>Selecting a chart layout will enable/disable chart specifics options.</td> </tr></table> </div> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/chart_line.png' width='16' height='16' alt=''/></td> <td width='300'><b>Plot specifics</b></td> </tr></table> <br/> <table><tr> <td width='60'>Plot size</td> <td><input type='text' id='c_plot_size' value='3' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td width='60'> Border size</td> <td> <input type='text' id='c_border_size' value='2' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='c_border_enabled' checked='checked' onclick='checkPlotBorder();' /></td> <td> border enabled</td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/chart_bar.png' width='16' height='16' alt=''/></td> <td width='300'><b>Bar charts specifics</b></td> </tr></table> <br/> <table><tr> <td> <input type='radio' id='c_bar_classic' name='c_bar_design' value='0' checked='checked' /></td> <td> Classic</td> <td> <input type='radio' id='c_bar_rounded' name='c_bar_design' value='1' /></td> <td> Rounded</td> <td> <input type='radio' id='c_bar_gradient' name='c_bar_design' value='2' /></td> <td> Gradient filling</td> <td> <input type='checkbox' id='c_around_zero1' checked='checked' /></td> <td> around zero</td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/chart_curve.png' width='16' height='16' alt=''/></td> <td width='300'><b>Area charts specifics</b></td> </tr></table> <br/> <table><tr> <td width='100'>Forced transparency</td> <td><input type='text' id='c_transparency' value='50' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='c_forced_transparency' checked='checked' onclick='checkAreaChart();' /></td> <td> enabled</td> <td> <input type='checkbox' id='c_around_zero2' checked='checked' /></td> <td> wrapped around zero</td> </tr></table> </div> <div class="roundedCorner" id='tab5' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 420px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/application_form.png' width='16' height='16' alt=''/></td> <td width='240'><b>Legend</b></td> <td width='20'><input type='checkbox' id='l_enabled' checked='checked' /></td> <td width='38'>Enabled</td> </tr></table> <br/> <table><tr> <td width='50'>Font</td> <td><select id='l_font'><?php listfonts("pf_arma_five"); ?></select></td> <td> Size </td> <td><input type='text' id='l_font_size' value='6' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Color </td> <td><input type='text' id='l_font_color' class='color' value='#000000' style='text-align: center; width: 50px;' onchange='applyColor("l_font_color","l_font_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='l_font_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> </tr></table> <table><tr> <td width='50'>Margin</td> <td><input type='text' id='l_margin' value='6' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Alpha </td> <td><input type='text' id='l_alpha' value='30' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Format</td> <td> <select id='l_format'><?php echo LegendFormat(); ?></select></td> </tr></table> <table><tr> <td width='50'>Orientation</td> <td> <select id='l_orientation' style='width: 160px;'><option value='LEGEND_VERTICAL'>LEGEND_VERTICAL</option><option value='LEGEND_HORIZONTAL' selected='selected'>LEGEND_HORIZONTAL</option></select></td> <td> Box size </td> <td><input type='text' id='l_box_size' value='5' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <table><tr> <td width='50'>Position</td> <td> <select id='l_position' style='width: 160px;' onclick='checkLegend();'><option value='CORNER_TOP_RIGHT'>CORNER_TOP_RIGHT</option><option value='CORNER_BOTTOM_RIGHT'>CORNER_BOTTOM_RIGHT</option><option value='Manual'>Manual</option></select></td> <td> X </td> <td><input type='text' id='l_x' value='10' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> Y </td> <td><input type='text' id='l_y' value='10' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> </tr></table> <table><tr> <td width='50'>Layout</td> <td> <select id='l_family' style='width: 160px;'><option value='LEGEND_SERIE_BOX'>LEGEND_SERIE_BOX</option><option value='LEGEND_FAMILY_CIRCLE'>LEGEND_FAMILY_CIRCLE</option><option value='LEGEND_FAMILY_LINE'>LEGEND_FAMILY_LINE</option></select></td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/vector.png' width='16' height='16' alt=''/></td> <td width='240'><b>Threshold</b></td> <td width='20'><input type='checkbox' id='t_enabled' /></td> <td width='38'>Enabled</td> </tr></table> <br/> <table><tr> <td width='50'>Value</td> <td width='60'><input type='text' id='t_value' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='radio' id='t_axis0' name='t_axis' value='0' checked='checked' /></td> <td> Axis 0</td> <td> <input type='radio' id='t_axis1' name='t_axis' value='1' /></td> <td> Axis 1</td> <td> <input type='radio' id='t_axis2' name='t_axis' value='2' /></td> <td> Axis 2</td> </tr></table> <table><tr> <td width='50'>Color</td> <td><input type='text' id='t_color' class='color' value='#000000' style='text-align: center; width: 50px;' onchange='applyColor("t_color","t_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td><div id='t_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td> <td> Alpha </td> <td><input type='text' id='t_alpha' value='50' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='t_ticks' checked='checked' /></td> <td> ticks </td> </tr></table> <table><tr> <td width='50'>Caption</td> <td><input type='text' id='t_caption' value='Threshold' style='width: 50px;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td> <td> <input type='checkbox' id='t_box' checked='checked' /></td> <td> in a box </td> <td> <input type='checkbox' id='t_caption_enabled' checked='checked' /></td> <td> caption enabled </td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/shape_flip_vertical.png' width='16' height='16' alt=''/></td> <td width='240'><b>Slope chart</b></td> <td width='20'><input type='checkbox' id='sl_enabled' onclick='doLayout();' /></td> <td width='38'>Enabled</td> </tr></table> <table><tr> <td> <input type='checkbox' id='sl_shaded' checked='checked' /></td> <td> Shaded </td> <td> <input type='checkbox' id='sl_caption_enabled' checked='checked' /></td> <td> With caption </td> <td> <input type='checkbox' id='sl_caption_line' checked='checked' /></td> <td> Use line as caption </td> </tr></table> <br/> <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr> <td width='20'><img src='graphix/color_swatch.png' width='16' height='16' alt=''/></td> <td width='300'><b>Palette</ |