Welcome Guest Search | Active Topics |

[SOLVED]browser compatibility issue
evangels
#1 Posted : Tuesday, July 30, 2013 10:19:22 PM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 7/30/2013(UTC)
Posts: 15

Thanks: 6 times
Was thanked: 0 time(s) in 0 post(s)
hi team,

I have a problem with the browser compatibility,

below code works fine on Chrome though it has a little issue on image marker position(pls. ignore my poor coding.)
and it can not be shown on IE8, I need your help, thanks!

the flag_blue.png file is for image markers, you can set to any images if you want.

Code:

<!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">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>
    SHL CHART
</title>
    <link rel="stylesheet" type="text/css" href="../css/jquery.jqChart.css" />
    <link rel="stylesheet" type="text/css" href="../css/jquery.jqRangeSlider.css" />
    <link rel="stylesheet" type="text/css" href="../css/jquery-ui-1.8.21.css" />
    <script src="../js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../js/jquery.mousewheel.js" type="text/javascript"></script>
    <script src="../js/jquery.jqChart.min.js" type="text/javascript"></script>
    <script src="../js/jquery.jqRangeSlider.min.js" type="text/javascript"></script>
     <!--[if IE]><script lang="javascript" type="text/javascript" src="../js/excanvas.js"></script><![endif]-->
<style type="text/css">
.ui-jqchart-tooltip {
position: absolute;
white-space: nowrap;
padding: .2em .4em;
z-index: 9999;
border: 1px solid #dddddd;
color: #333333;
background: white;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-o-box-shadow: 0 0 5px #aaa;
-moz-box-shadow: 0 0 5px #aaa;
-webkit-box-shadow: 0 0 5px #aaa;
box-shadow: 0 0 5px #aaa;

</style>
    <script lang="javascript" type="text/javascript">
        $(document).ready(function () {
            $('#jqChart').jqChart({
                title: { text: 'G1433 A663718.1 Movement Forecast Chart' },
                animation: { duration: 1 },
                axes: [
                       {
                           name: 'y1',
                           location: 'left',
                           type: 'dateTime',
                           maximum: new Date('2013-07-26 10:00')-(-10*24*60*60*1000),
                           minimum: new Date('2013-07-17 15:23')-1*24*60*60*1000
                           
                           //interval: 1,
                           //intervalType: 'days'
                       },
                       {   
                           type: 'category',
                           location: 'bottom',
                           /* categories: [*/
                                                                            /*],*/
                            zoomEnabled: true,
                            labels: {
                            font: '8px sans-serif',
                            angle: -90
                            }
                       }
                   ],
                series: [
                            {
                                type: 'line',
                                title: 'Raw Process Time',
                                axisY: 'y1',
                                fillStyle: 'blue',
                                strokeStyle: 'blue',
                                markers: null,
                                data: [
                                ['TRENCH_ET',new Date('2013-07-17 15:23')],['TRENCH_ET',new Date('2013-07-17 15:50')],['TRENCH_ET',new Date('2013-07-17 17:14')],['TRENCH_ET',new Date('2013-07-17 17:30')],['TRENCH_ET',new Date('2013-07-17 17:35')],['TRENCH_ET',new Date('2013-07-17 17:45')],['TRENCH_ET',new Date('2013-07-17 17:45')],['TRENCH_ET',new Date('2013-07-17 21:06')],['TRENCH_ET',new Date('2013-07-17 22:36')],['TRENCH_ET',new Date('2013-07-18 00:00')],['TRENCH_ET',new Date('2013-07-18 00:10')],['TRENCH_ET',new Date('2013-07-18 00:15')],['TRENCH_ET',new Date('2013-07-18 00:25')],['TRENCH_ET',new Date('2013-07-18 00:25')],['SCOX_CLN',new Date('2013-07-18 02:05')],['SCOX_DEP',new Date('2013-07-18 11:34')],['SCOX_DEP',new Date('2013-07-18 11:42')],['SCOX_DEP',new Date('2013-07-18 13:05')],['GOX_DEP',new Date('2013-07-18 14:45')],['GOX_DEP',new Date('2013-07-19 00:38')],['GOX_DEP',new Date('2013-07-19 00:44')],['GOX_DEP',new Date('2013-07-19 00:48')],['GPL_DEP',new Date('2013-07-19 08:52')],['GPL_DEP',new Date('2013-07-19 09:09')],['GPL_ET3',new Date('2013-07-19 12:35')],['GPL_ET3',new Date('2013-07-19 13:03')],['GPL_ET3',new Date('2013-07-19 14:33')],['GPL_ET3',new Date('2013-07-19 16:04')],['GPL_ET3',new Date('2013-07-19 16:09')],['GPL_ANNL',new Date('2013-07-19 17:31')],['GPL_ANNL',new Date('2013-07-20 00:24')],['GPL_ANNL',new Date('2013-07-20 00:32')],['PW_IMP1',new Date('2013-07-20 01:09')],['PW_IMP1',new Date('2013-07-20 02:33')],['PW_IMP1',new Date('2013-07-20 02:38')],['PW_ANNL',new Date('2013-07-20 04:00')],['PW_ANNL',new Date('2013-07-20 11:08')],['PW_ANNL',new Date('2013-07-20 12:34')],['PW_ANNL',new Date('2013-07-20 12:41')],['NPLS_PH',new Date('2013-07-20 14:30')],['NPLS_PH',new Date('2013-07-20 14:37')],['NPLS_PH',new Date('2013-07-20 15:04')],['NPLS_PH',new Date('2013-07-20 15:07')],['NPLS_IMP',new Date('2013-07-20 15:45')],['NPLS_IMP',new Date('2013-07-20 16:57')],['NPLS_IMP',new Date('2013-07-20 18:05')],['NPLS_IMP',new Date('2013-07-20 19:29')],['NPLS_IMP',new Date('2013-07-20 19:34')],['NPLS_IMP',new Date('2013-07-20 20:56')],['NPLS_IMP',new Date('2013-07-21 02:50')],['NPLS_DEP',new Date('2013-07-21 04:12')],['NPLS_DEP',new Date('2013-07-21 12:46')],['NPLS_DEP',new Date('2013-07-21 12:54')],['NPLS_DEP',new Date('2013-07-21 14:04')],['ILD_DEN',new Date('2013-07-21 14:07')],['ILD_DEN',new Date('2013-07-21 15:07')],['ILD_DEP',new Date('2013-07-21 16:50')],['ILD_DEP',new Date('2013-07-21 22:27')],['ILD_DEP',new Date('2013-07-21 22:43')],['ILD_DEP',new Date('2013-07-22 00:01')],['CT_PH',new Date('2013-07-22 00:25')],['CT_PH',new Date('2013-07-22 01:44')],['CT_PH',new Date('2013-07-22 01:51')],['CT_PH',new Date('2013-07-22 01:59')],['CT_PH',new Date('2013-07-22 02:09')],['CT_PH',new Date('2013-07-22 02:12')],['CT_ET',new Date('2013-07-22 03:25')],['CT_ET',new Date('2013-07-22 03:53')],['CT_ET',new Date('2013-07-22 06:41')],['CT_ET',new Date('2013-07-22 06:41')],['CT_ET',new Date('2013-07-22 10:17')],['CT_ET',new Date('2013-07-22 13:05')],['CT_ET',new Date('2013-07-22 13:05')],['CT_ET',new Date('2013-07-22 13:12')],['CT_ET',new Date('2013-07-22 13:16')],['CT_ET',new Date('2013-07-22 13:23')],['CT_ET',new Date('2013-07-22 13:28')],['CT_IMP',new Date('2013-07-22 15:33')],['CT_IMP',new Date('2013-07-22 16:51')],['CT_IMP',new Date('2013-07-22 16:56')],['CT_BL',new Date('2013-07-22 18:01')],['CT_BL',new Date('2013-07-22 18:44')],['CT_BL',new Date('2013-07-22 19:45')],['CT_BL',new Date('2013-07-22 21:26')],['CT_RTP',new Date('2013-07-22 22:11')],['CT_WDEP',new Date('2013-07-22 23:11')],['CT_WETB',new Date('2013-07-23 01:01')],['CT_WETB',new Date('2013-07-23 01:32')],['CT_WETB',new Date('2013-07-23 01:37')],['M1_SPT',new Date('2013-07-23 05:33')],['M1_PH',new Date('2013-07-23 07:26')],['M1_PH',new Date('2013-07-23 08:15')],['M1_PH',new Date('2013-07-23 08:18')],['M1_ET',new Date('2013-07-23 09:26')],['M1_ET',new Date('2013-07-23 10:42')],['M1_ET',new Date('2013-07-23 11:10')],['M1_ET',new Date('2013-07-23 11:21')],['M1_ET',new Date('2013-07-23 11:24')],['M1_ALLOY',new Date('2013-07-23 12:46')],['PA_SIN',new Date('2013-07-23 13:10')],['PA_SIN',new Date('2013-07-23 13:59')],['PA_SIN',new Date('2013-07-23 14:12')],['PA_PH',new Date('2013-07-23 14:41')],['PA_PH',new Date('2013-07-23 14:45')],['PA_PH',new Date('2013-07-23 14:48')],['PA_ET',new Date('2013-07-23 15:39')],['PA_ET',new Date('2013-07-23 15:55')],['PA_ET',new Date('2013-07-23 17:04')],['PA_ET',new Date('2013-07-23 17:09')],['PA_ET',new Date('2013-07-23 18:31')],['WAT_WAT',new Date('2013-07-23 22:57')],['WAT_WAT',new Date('2013-07-23 23:19')],['OQA_PWT',new Date('2013-07-23 23:29')],['BG_BG',new Date('2013-07-24 00:13')],['BG_BG',new Date('2013-07-24 00:49')],['BG_BG',new Date('2013-07-24 01:12')],['BG_BG',new Date('2013-07-24 02:52')],['BG_BG',new Date('2013-07-24 03:15')],['BG_BG',new Date('2013-07-24 04:30')],['BG_BG',new Date('2013-07-24 04:53')],['BG_BG',new Date('2013-07-24 05:16')],['BG_BG',new Date('2013-07-24 06:07')],['BG_BG',new Date('2013-07-24 06:30')],['BG_BG',new Date('2013-07-24 06:53')],['BG_BG',new Date('2013-07-24 08:48')],['BG_BG',new Date('2013-07-24 09:11')],['BG_BG',new Date('2013-07-24 09:34')],['OQA_OQA',new Date('2013-07-24 10:49')],['OQA_OQA',new Date('2013-07-24 10:49')]                                ]
                            },
                            {
                                type: 'line',
                                title: 'Plan',
                                axisY: 'y1',
                                fillStyle: 'green',
                                strokeStyle: 'green',
                                markers: null,
                                data: [
                                ['TRENCH_ET',new Date('2013-07-17 15:30')],['TRENCH_ET',new Date('2013-07-17 16:04')],['TRENCH_ET',new Date('2013-07-17 17:50')],['TRENCH_ET',new Date('2013-07-17 18:13')],['TRENCH_ET',new Date('2013-07-17 18:28')],['TRENCH_ET',new Date('2013-07-17 18:58')],['TRENCH_ET',new Date('2013-07-17 18:58')],['TRENCH_ET',new Date('2013-07-17 22:26')],['TRENCH_ET',new Date('2013-07-18 00:18')],['TRENCH_ET',new Date('2013-07-18 02:04')],['TRENCH_ET',new Date('2013-07-18 02:21')],['TRENCH_ET',new Date('2013-07-18 02:33')],['TRENCH_ET',new Date('2013-07-18 03:03')],['TRENCH_ET',new Date('2013-07-18 03:03')],['SCOX_CLN',new Date('2013-07-18 05:05')],['SCOX_DEP',new Date('2013-07-18 17:11')],['SCOX_DEP',new Date('2013-07-18 17:26')],['SCOX_DEP',new Date('2013-07-18 19:11')],['GOX_DEP',new Date('2013-07-18 21:13')],['GOX_DEP',new Date('2013-07-19 09:43')],['GOX_DEP',new Date('2013-07-19 09:56')],['GOX_DEP',new Date('2013-07-19 10:07')],['GPL_DEP',new Date('2013-07-19 20:48')],['GPL_DEP',new Date('2013-07-19 21:12')],['GPL_ET3',new Date('2013-07-20 00:45')],['GPL_ET3',new Date('2013-07-20 01:20')],['GPL_ET3',new Date('2013-07-20 03:12')],['GPL_ET3',new Date('2013-07-20 04:53')],['GPL_ET3',new Date('2013-07-20 05:08')],['GPL_ANNL',new Date('2013-07-20 06:52')],['GPL_ANNL',new Date('2013-07-20 16:22')],['GPL_ANNL',new Date('2013-07-20 16:37')],['PW_IMP1',new Date('2013-07-20 17:24')],['PW_IMP1',new Date('2013-07-20 19:10')],['PW_IMP1',new Date('2013-07-20 19:25')],['PW_ANNL',new Date('2013-07-20 21:09')],['PW_ANNL',new Date('2013-07-21 06:54')],['PW_ANNL',new Date('2013-07-21 08:42')],['PW_ANNL',new Date('2013-07-21 08:56')],['NPLS_PH',new Date('2013-07-21 10:55')],['NPLS_PH',new Date('2013-07-21 11:09')],['NPLS_PH',new Date('2013-07-21 11:43')],['NPLS_PH',new Date('2013-07-21 11:53')],['NPLS_IMP',new Date('2013-07-21 12:38')],['NPLS_IMP',new Date('2013-07-21 14:00')],['NPLS_IMP',new Date('2013-07-21 15:15')],['NPLS_IMP',new Date('2013-07-21 17:01')],['NPLS_IMP',new Date('2013-07-21 17:16')],['NPLS_IMP',new Date('2013-07-21 19:00')],['NPLS_IMP',new Date('2013-07-22 03:31')],['NPLS_DEP',new Date('2013-07-22 05:15')],['NPLS_DEP',new Date('2013-07-22 16:26')],['NPLS_DEP',new Date('2013-07-22 16:41')],['NPLS_DEP',new Date('2013-07-22 18:13')],['ILD_DEN',new Date('2013-07-22 18:23')],['ILD_DEN',new Date('2013-07-22 19:30')],['ILD_DEP',new Date('2013-07-22 21:20')],['ILD_DEP',new Date('2013-07-23 05:34')],['ILD_DEP',new Date('2013-07-23 05:57')],['ILD_DEP',new Date('2013-07-23 07:37')],['CT_PH',new Date('2013-07-23 08:08')],['CT_PH',new Date('2013-07-23 09:37')],['CT_PH',new Date('2013-07-23 09:51')],['CT_PH',new Date('2013-07-23 10:06')],['CT_PH',new Date('2013-07-23 10:23')],['CT_PH',new Date('2013-07-23 10:33')],['CT_ET',new Date('2013-07-23 11:53')],['CT_ET',new Date('2013-07-23 12:28')],['CT_ET',new Date('2013-07-23 16:00')],['CT_ET',new Date('2013-07-23 16:00')],['CT_ET',new Date('2013-07-23 19:43')],['CT_ET',new Date('2013-07-23 23:15')],['CT_ET',new Date('2013-07-23 23:15')],['CT_ET',new Date('2013-07-23 23:29')],['CT_ET',new Date('2013-07-23 23:43')],['CT_ET',new Date('2013-07-24 00:00')],['CT_ET',new Date('2013-07-24 00:15')],['CT_IMP',new Date('2013-07-24 02:30')],['CT_IMP',new Date('2013-07-24 04:10')],['CT_IMP',new Date('2013-07-24 04:25')],['CT_BL',new Date('2013-07-24 05:52')],['CT_BL',new Date('2013-07-24 06:42')],['CT_BL',new Date('2013-07-24 08:05')],['CT_BL',new Date('2013-07-24 09:53')],['CT_RTP',new Date('2013-07-24 10:45')],['CT_WDEP',new Date('2013-07-24 11:52')],['CT_WETB',new Date('2013-07-24 13:49')],['CT_WETB',new Date('2013-07-24 14:27')],['CT_WETB',new Date('2013-07-24 14:42')],['M1_SPT',new Date('2013-07-24 18:45')],['M1_PH',new Date('2013-07-24 20:48')],['M1_PH',new Date('2013-07-24 21:44')],['M1_PH',new Date('2013-07-24 21:54')],['M1_ET',new Date('2013-07-24 23:09')],['M1_ET',new Date('2013-07-25 00:32')],['M1_ET',new Date('2013-07-25 01:07')],['M1_ET',new Date('2013-07-25 01:28')],['M1_ET',new Date('2013-07-25 01:41')],['M1_ALLOY',new Date('2013-07-25 05:40')],['PA_SIN',new Date('2013-07-25 06:11')],['PA_SIN',new Date('2013-07-25 07:07')],['PA_SIN',new Date('2013-07-25 07:27')],['PA_PH',new Date('2013-07-25 08:06')],['PA_PH',new Date('2013-07-25 08:17')],['PA_PH',new Date('2013-07-25 08:27')],['PA_ET',new Date('2013-07-25 09:25')],['PA_ET',new Date('2013-07-25 09:48')],['PA_ET',new Date('2013-07-25 11:04')],['PA_ET',new Date('2013-07-25 11:19')],['PA_ET',new Date('2013-07-25 15:18')],['WAT_WAT',new Date('2013-07-25 19:51')],['WAT_WAT',new Date('2013-07-25 20:20')],['OQA_PWT',new Date('2013-07-25 20:37')],['BG_BG',new Date('2013-07-25 21:43')],['BG_BG',new Date('2013-07-25 22:29')],['BG_BG',new Date('2013-07-25 22:59')],['BG_BG',new Date('2013-07-26 00:46')],['BG_BG',new Date('2013-07-26 01:16')],['BG_BG',new Date('2013-07-26 02:38')],['BG_BG',new Date('2013-07-26 03:08')],['BG_BG',new Date('2013-07-26 03:38')],['BG_BG',new Date('2013-07-26 04:36')],['BG_BG',new Date('2013-07-26 05:06')],['BG_BG',new Date('2013-07-26 05:36')],['BG_BG',new Date('2013-07-26 07:38')],['BG_BG',new Date('2013-07-26 08:08')],['BG_BG',new Date('2013-07-26 08:38')],['OQA_OQA',new Date('2013-07-26 10:00')],['OQA_OQA',new Date('2013-07-26 10:00')]                                ]
                            },
                            {
                                type: 'line',
                                title: 'Actual',
                                axisY: 'y1',
                                markers: {
                                    offset: 0,
                                    type: 'image',
                                    strokeStyle: 'black'
                                },
                                data: [
                                ['TRENCH_ET',new Date('2013-07-17 09:52'),''],['TRENCH_ET',new Date('2013-07-17 10:08'),''],['TRENCH_ET',new Date('2013-07-17 13:19'),''],['TRENCH_ET',new Date('2013-07-17 14:42'),''],['TRENCH_ET',new Date('2013-07-17 16:37'),''],['TRENCH_ET',new Date('2013-07-19 00:54'),''],['TRENCH_ET',new Date('2013-07-18 03:02'),''],['TRENCH_ET',new Date('2013-07-18 17:35'),''],['TRENCH_ET',new Date('2013-07-18 20:36'),''],['TRENCH_ET',new Date('2013-07-18 22:15'),''],['TRENCH_ET',new Date('2013-07-19 00:23'),''],['TRENCH_ET',new Date('2013-07-19 00:34'),''],['TRENCH_ET',new Date('2013-07-19 00:54'),''],['TRENCH_ET',new Date('2013-07-18 03:02'),''],['SCOX_CLN',new Date('2013-07-19 05:09'),''],['SCOX_DEP',new Date('2013-07-19 19:52'),''],['SCOX_DEP',new Date('2013-07-19 20:00'),''],['SCOX_DEP',new Date('2013-07-19 21:34'),''],['GOX_DEP',new Date('2013-07-20 06:55'),''],['GOX_DEP',new Date('2013-07-20 17:06'),''],['GOX_DEP',new Date('2013-07-20 17:13'),''],['GOX_DEP',new Date('2013-07-20 18:28'),''],['GPL_DEP',new Date('2013-07-22 08:33'),''],['GPL_DEP',new Date('2013-07-22 09:10'),''],['GPL_ET3',new Date('2013-07-22 11:34'),''],['GPL_ET3',new Date('2013-07-22 12:09'),''],['GPL_ET3',new Date('2013-07-22 14:15'),''],['GPL_ET3',new Date('2013-07-22 16:58'),''],['GPL_ET3',new Date('2013-07-22 17:03'),''],['GPL_ANNL',new Date('2013-07-22 18:48'),''],['GPL_ANNL',new Date('2013-07-23 03:24'),''],['GPL_ANNL',new Date('2013-07-23 04:00'),''],['PW_IMP1',new Date('2013-07-23 05:23'),''],['PW_IMP1',new Date('2013-07-23 07:18'),''],['PW_IMP1',new Date('2013-07-23 07:23'),''],['PW_ANNL',new Date('2013-07-23 09:45'),''],['PW_ANNL',new Date('2013-07-23 20:07'),''],['PW_ANNL',new Date('2013-07-23 22:05'),''],['PW_ANNL',new Date('2013-07-24 00:46'),''],['NPLS_PH',new Date('2013-07-24 06:45'),''],['NPLS_PH',new Date('2013-07-24 07:01'),''],['NPLS_PH',new Date('2013-07-24 07:55'),''],['NPLS_PH',new Date('2013-07-24 07:55'),''],['NPLS_IMP',new Date('2013-07-24 08:29'),''],['NPLS_IMP',new Date('2013-07-24 09:39'),''],['NPLS_IMP',new Date('2013-07-24 10:37'),''],['NPLS_IMP',new Date('2013-07-24 12:20'),''],['NPLS_IMP',new Date('2013-07-24 12:27'),''],['NPLS_IMP',new Date('2013-07-24 16:29'),''],['NPLS_IMP',new Date('2013-07-24 23:12'),''],['NPLS_DEP',new Date('2013-07-25 01:37'),''],['NPLS_DEP',new Date('2013-07-25 12:09'),''],['NPLS_DEP',new Date('2013-07-25 12:26'),''],['NPLS_DEP',new Date('2013-07-25 14:12'),''],['ILD_DEN',new Date('2013-07-25 14:44'),''],['ILD_DEN',new Date('2013-07-25 15:35'),''],['ILD_DEP',new Date('2013-07-25 18:11'),''],['ILD_DEP',new Date('2013-07-25 23:19'),''],['ILD_DEP',new Date('2013-07-25 23:48'),''],['ILD_DEP',new Date('2013-07-26 01:45'),''],['CT_PH',new Date('2013-07-26 02:41'),''],['CT_PH',new Date('2013-07-26 10:21'),''],['CT_PH',new Date('2013-07-26 10:43'),''],['CT_PH',new Date('2013-07-26 11:04'),''],['CT_PH',new Date('2013-07-26 11:18'),''],['CT_PH',new Date('2013-07-26 14:07'),''],['CT_ET',new Date('2013-07-26 16:35'),''],['CT_ET',new Date('2013-07-26 17:09'),''],['CT_ET',new Date('2013-07-27 00:25'),''],['CT_ET',new Date('2013-07-26 19:48'),''],['CT_ET',new Date('2013-07-26 22:06'),''],['CT_ET',new Date('2013-07-27 00:25'),'../images/flag_blue.png','12354545'],['CT_ET',new Date('2013-07-26 19:48'),''],['CT_ET',new Date('2013-07-27 03:53'),''],['CT_ET',new Date('2013-07-27 04:56'),''],['CT_ET',new Date('2013-07-27 06:00'),''],['CT_ET',new Date('2013-07-27 06:44'),''],['CT_IMP',new Date('2013-07-27 08:54'),''],['CT_IMP',new Date('2013-07-27 11:12'),''],['CT_IMP',new Date('2013-07-27 11:26'),''],['CT_BL',new Date('2013-07-27 12:38'),''],['CT_BL',new Date('2013-07-27 13:30'),''],['CT_BL',new Date('2013-07-27 15:18'),''],['CT_BL',new Date('2013-07-27 18:56'),''],['CT_RTP',new Date('2013-07-27 20:01'),''],['CT_WDEP',new Date('2013-07-27 21:34'),'../images/flag_blue.png','ABCDEFGYTADFDADF'],['CT_WETB',new Date('2013-07-28 01:51'),''],['CT_WETB',new Date('2013-07-28 02:51'),''],['CT_WETB',new Date('2013-07-28 03:01'),''],['M1_SPT',new Date('2013-07-28 08:17'),''],['M1_PH',new Date('2013-07-28 11:26'),''],['M1_PH',new Date('2013-07-28 12:22'),''],['M1_PH',new Date('2013-07-29 10:48'),'']                               ]
                            }
                        ]
            });
        formatTip();    
        });
function formatTip(){
       $('#jqChart').bind('tooltipFormat', function (e, data) {
                var tooltip = '<span>' + data.dataItem[0] + '</span>';
                if(data.dataItem[3]!=null){
                tooltip += ':'+data.dataItem[3] + ' <br />';
                }
                return tooltip;
            });
        }
    </script>

</head>
<body>
    <div>
        <div id="jqChart" style="width: 2000px; height: 600px;"></div>
    </div>
</body>
</html>
Dragan
#2 Posted : Wednesday, July 31, 2013 12:29:42 PM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

Currently jqChart doesn't support dates as y-values - ['TRENCH_ET', new Date('2013-07-17 15:23')]. This seems to work in Chrome somehow, but it is not supported.

We'll going to investigate you sample and we'll try adding support for y-values as dates. I'll let you know when we have progress on this one.
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked Dragan for this useful post.
evangels on 7/31/2013(UTC)
evangels
#3 Posted : Wednesday, July 31, 2013 10:11:30 PM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 7/30/2013(UTC)
Posts: 15

Thanks: 6 times
Was thanked: 0 time(s) in 0 post(s)
dragan wrote:
Hi,

Currently jqChart doesn't support dates as y-values - ['TRENCH_ET', new Date('2013-07-17 15:23')]. This seems to work in Chrome somehow, but it is not supported.

We'll going to investigate you sample and we'll try adding support for y-values as dates. I'll let you know when we have progress on this one.


got it, thanks for your reply~
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.095 seconds.