• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
조회 수 : 19193
2007.01.09 (01:36:14)
* 고객시스템명: LG CNS
* GAUCE 버젼 :GAUCE MTS 3.0
* WAS종류(WebLogin 등등) :COM+
* DB종류:Oracle
* 문의 유형(질문/요청/참조):질문
* 내용

기존에 사용을 했을경우 이와 같이 문제가 발생을 하지 않았는데 갑자 이번에 작업을 진행을 하면서
위와 같은 메세지 출력 됨을 확인할수 있었습니다.

먼저, 현 작업하고자 내용은 기존에 차트내용은 정적인 내용이었다면,
이번 작업 같은 경우는 동적으로 사용자에게 선택항목을 두어서 차트화 하는 작업입니다.

그런데 처음상태에서는 차트가 문제없이 출력을 하였는데, 지속적인 시간을 두고서 작업을 했을경우
이와 같은 메세지를 보입니다.


┌────────────────────────────────────────────┐
│ Iexplore                                                                                                                        │
│                                                                                                                                    │        
│ Access violation at address 50444163 in module 'TeeChart5.ocx'.Read of address 6563698E"  │
│                                                                                                                                    │        
└────────────────────────────────────────────┘

현내용에 대해 확인부탁드립니다.

소스내용을 정리해서 보내드립니다.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><%=TITLE%></title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="../css/price.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../Script/Common.js"></script>
<script language="javascript" src="../Script/Gauce.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function Initialize()
{
        var jsArgs ;
        document.body.topMargin = 0;
        document.body.leftMargin = 0;
        
        /* Default checkBox checked (MKT,TP Adj,Adj TP) */
        PriceOpt[4].checked = true;                        // MKT
        PriceOpt[5].checked = true;                        // TP Adj
        PriceOpt[6].checked = true;                        // Adj TP
        
        jsArgs = window.dialogArguments;

        jsShipFrom            = jsArgs.get("SHIP_FROM");
        jsBillFrom            = jsArgs.get("BILL_FROM");
        jsGbuCode                     = jsArgs.get("GBU_CODE");
        jsDivisionCode    = jsArgs.get("DIVISION_CODE");
        jsProductCode            = jsArgs.get("PRODUCT_CODE");
        jsProductLineCode = jsArgs.get("PRODUCT_LINE_CODE");
        jsGlobalModel            = jsArgs.get("GLOBAL_MODEL");
        jsGlobalSuffix    = jsArgs.get("GLOBAL_SUFFIX");
        jsSalesModel            = jsArgs.get("SALES_MODEL");
        jsSalesSuffix            = jsArgs.get("SALES_SUFFIX");
        jsLocationCode    = jsArgs.get("LOCATION_CODE");
        jsPriceType            = jsArgs.get("PRICE_TYPE");
        jsBranchCode      = jsArgs.get("BRANCH_CODE");

        G_addDataSet(dsList,   null, gridList,         null, "Effective Date Price Chart");
        G_addDataSet(dsPrice,  null, null,                 null, "Effective Date Price Chart");
        
        G_Load(dsList, null);
        Chart_Initialize1();
}

function OnLoadBefore(dataset)
{
        if (dataset == dsList)                        //** List Print
        {
                dataset.DataID = "/Pricing/WPrEffectiveDatePriceChartMaster_S.ASP?DataSet=dsList"             +
                                                                           "&SHIP_FROM="         + jsShipFrom +
                                                                           "&BILL_FROM="         + jsBillFrom +
                                                                           "&GBU_CODE="          + jsGbuCode +
                                                                           "&DIVISION_CODE="     + jsDivisionCode +
                                                                           "&PRODUCT_CODE="      + jsProductCode +
                                                                           "&PRODUCT_LINE_CODE=" + jsProductLineCode +
                                                                           "&GLOBAL_MODEL="      + jsGlobalModel +
                                                                           "&GLOBAL_SUFFIX="     + jsGlobalSuffix +
                                                                           "&SALES_MODEL="       + jsSalesModel +
                                                                           "&SALES_SUFFIX="      + jsSalesSuffix +
                                                                           "&LOCATION_CODE="     + jsLocationCode +
                                                                           "&PRICE_TYPE="        + jsPriceType +
                                                                           "&BRANCH_CODE="       + jsBranchCode;
        }
        
        else if (dataset == dsPrice)        //** Price Chart
        {
                dataset.DataID = "/Pricing/WPrEffectiveDatePriceChartMaster_S.ASP?DataSet=dsPrice"     +
                                                                           "&SHIP_FROM="         + jsShipFrom +
                                                                           "&BILL_FROM="         + jsBillFrom +
                                                                           "&GBU_CODE="          + jsGbuCode +
                                                                           "&DIVISION_CODE="     + jsDivisionCode +
                                                                           "&PRODUCT_CODE="      + jsProductCode +
                                                                           "&PRODUCT_LINE_CODE=" + jsProductLineCode +
                                                                           "&GLOBAL_MODEL="      + jsGlobalModel +
                                                                           "&GLOBAL_SUFFIX="     + jsGlobalSuffix +
                                                                           "&SALES_MODEL="       + jsSalesModel +
                                                                           "&SALES_SUFFIX="      + jsSalesSuffix +
                                                                           "&LOCATION_CODE="     + jsLocationCode +
                                                                           "&PRICE_TYPE="        + jsPriceType +
                                                                           "&BRANCH_CODE="       + jsBranchCode;                                                                                  
        }
}
        
        
function OnLoadCompleted(dataset, rowcnt)
{
}
        
function Chart_Initialize1()
{
        //**********[XChart초기화]**********//
        XChart1.RemoveAllSeries();

        //**********[XChart1 WallBgcolor  정보입력]**********//
        XChart1.Panel.Color                 = XChart1.ToOLEColor("white");
        XChart1.Panel.BevelInner            = 0;
        XChart1.Panel.BevelOuter            = 0;
        XChart1.Panel.BorderStyle           = 0;
        XChart1.Aspect.View3D               = false;
        XChart1.Axis.Bottom.GridPen.visible = false;

        //**********[XChart1 Legend  정보입력]**********//
        XChart1.Legend.Visible       = 1;
        XChart1.Legend.Alignment     = 3;
        XChart1.Legend.Font.Size     = 9;
        XChart1.Legend.Font.bold     = true;
        XChart1.Legend.ShadowSize    = 0;
        XChart1.Legend.Frame.Visible = false;
        XChart1.Legend.ColorWidth    = 20;
        Mark = XChart1.Tools.Add (8);

        //**********[XChart1 Zoom  정보입력]**********//
        XChart1.Zoom.MouseButton = 0;
        XChart1.Zoom.Pen.Style   = 0;
        XChart1.Zoom.Pen.Color   = XChart1.ToOLEColor("Black");
        
        
        


                                                        
        var SeriesIdx                                                                                           = XChart1.AddSeries(0);
        XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
        XChart1.Series(SeriesIdx).YValueColumn                    = "MKT_TP_ADJ_AMT";
        XChart1.Series(SeriesIdx).Title                           = "MKT Adj Amt";
        XChart1.Series(SeriesIdx).Color                           = "#0018FF";
        XChart1.Series(SeriesIdx).Marks.Visible                   = true;
        XChart1.Series(SeriesIdx).Marks.Transparent               = true;
        XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
        XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
        XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
        XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
        XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
        XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
        XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
        XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 2;
        XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
        XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");
                                                          
        var SeriesIdx                                                                                           = XChart1.AddSeries(0);
        XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
        XChart1.Series(SeriesIdx).YValueColumn                    = "TP_ADJ_AMT";
        XChart1.Series(SeriesIdx).Title                           = "TP Adj Amt";
        XChart1.Series(SeriesIdx).Color                           = "#FFFF00";
        XChart1.Series(SeriesIdx).Marks.Visible                   = true;
        XChart1.Series(SeriesIdx).Marks.Transparent               = true;
        XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
        XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
        XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
        XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
        XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
        XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
        XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
        XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 3;
        XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
        XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");
                                                          
        var SeriesIdx                                             = XChart1.AddSeries(0);
        XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
        XChart1.Series(SeriesIdx).YValueColumn                    = "TRANSFER_PRICE";
        XChart1.Series(SeriesIdx).Title                           = "Adj TP";
        XChart1.Series(SeriesIdx).Color                           = "#CC5555";
        XChart1.Series(SeriesIdx).Marks.Visible                   = true;
        XChart1.Series(SeriesIdx).Marks.Transparent               = true;
        XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
        XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
        XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
        XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
        XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
        XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
        XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
        XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 7;
        XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
        XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");
        
        var SeriesIdx = XChart1.AddSeries(0);
        XChart1.Series(SeriesIdx).DataID = "dsPrice";
        XChart1.Series(SeriesIdx).YValueColumn = "TRANSFER_PRICE";
        XChart1.Series(SeriesIdx).LabelColumn  = "EFFECTIVE_DATE";
        XChart1.Series(SeriesIdx).ShowInLegend = false;                
                                
        G_Load(dsPrice, null);

        XChart1.Reset();
}
function Zoom_Rate()
{
        XChart1.Zoom.Undo();
        XChart1.Zoom.ZoomPercent(SEL_ZOOM_PRICING.value);
}

function btnUndo_onClick()
{
        XChart1.Zoom.Undo();                                
}                  

function btnClose_onClick()
{
        window.close();
}
        
/* 2007.01.08 정지현 */
function btnInquiry_onClick()
{
        XChart1.RemoveAllSeries();
        //**********[XChart1 WallBgcolor  정보입력]**********//
        XChart1.Panel.Color                 = XChart1.ToOLEColor("white");
        XChart1.Panel.BevelInner            = 0;
        XChart1.Panel.BevelOuter            = 0;
        XChart1.Panel.BorderStyle           = 0;
        XChart1.Aspect.View3D               = false;
        XChart1.Axis.Bottom.GridPen.visible = false;

        //**********[XChart1 Legend  정보입력]**********//
        XChart1.Legend.Visible       = 1;
        XChart1.Legend.Alignment     = 3;
        XChart1.Legend.Font.Size     = 9;
        XChart1.Legend.Font.bold     = true;
        XChart1.Legend.ShadowSize    = 0;
        XChart1.Legend.Frame.Visible = false;
        XChart1.Legend.ColorWidth    = 20;
        Mark = XChart1.Tools.Add (8);

        //**********[XChart1 Zoom  정보입력]**********//
        XChart1.Zoom.MouseButton = 0;
        XChart1.Zoom.Pen.Style   = 0;
        XChart1.Zoom.Pen.Color   = XChart1.ToOLEColor("Black");
        
                
        if (PriceOpt[0].checked == true)
        {
                var SeriesIdx                                             = XChart1.AddSeries(0);
                XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
                XChart1.Series(SeriesIdx).YValueColumn                    = "RETAIL_PRICE";
                XChart1.Series(SeriesIdx).Title                           = "Retail Price";
                XChart1.Series(SeriesIdx).Color                           = "#CC00CC";
                XChart1.Series(SeriesIdx).Marks.Visible                   = true;
                XChart1.Series(SeriesIdx).Marks.Transparent               = true;
                XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
                XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
                XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
                XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
                XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
                XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 1;
                XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
                XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");
        }
        if  (PriceOpt[1].checked == true)
        {
                var SeriesIdx                                             = XChart1.AddSeries(0);
                XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
                XChart1.Series(SeriesIdx).YValueColumn                    = "DEALER_PRICE";
                XChart1.Series(SeriesIdx).Title                           = "Dealer Price";
                XChart1.Series(SeriesIdx).Color                           = "#CCBBCC";
                XChart1.Series(SeriesIdx).Marks.Visible                   = true;
                XChart1.Series(SeriesIdx).Marks.Transparent               = true;
                XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
                XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
                XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
                XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
                XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
                XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 1;
                XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
                XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");                        
        }
        
        if  (PriceOpt[4].checked == true)
        {
                //* Mkt Adj.
                var SeriesIdx                                                                                           = XChart1.AddSeries(0);
                XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
                XChart1.Series(SeriesIdx).YValueColumn                    = "MKT_TP_ADJ_AMT";
                XChart1.Series(SeriesIdx).Title                           = "MKT Adj Amt";
                XChart1.Series(SeriesIdx).Color                           = "#0018FF";
                XChart1.Series(SeriesIdx).Marks.Visible                   = true;
                XChart1.Series(SeriesIdx).Marks.Transparent               = true;
                XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
                XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
                XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
                XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
                XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
                XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 2;
                XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
                XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");
        }
        
        if  (PriceOpt[5].checked == true)
        {    
        //*TP Adj                                                          
                var SeriesIdx                                                                                           = XChart1.AddSeries(0);
                XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
                XChart1.Series(SeriesIdx).YValueColumn                    = "TP_ADJ_AMT";
                XChart1.Series(SeriesIdx).Title                           = "TP Adj Amt";
                XChart1.Series(SeriesIdx).Color                           = "#FFFF00";
                XChart1.Series(SeriesIdx).Marks.Visible                   = true;
                XChart1.Series(SeriesIdx).Marks.Transparent               = true;
                XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
                XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
                XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
                XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
                XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
                XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 3;
                XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
                XChart1.Series(SeriesIdx).asLine.Pointer.Brush.Color      = XChart1.ToOLEColor("yellow");
        }  
    
    
        if  (PriceOpt[6].checked == true)
        {  
        //*Adj TP                                                          
                var SeriesIdx                                             = XChart1.AddSeries(0);
                XChart1.Series(SeriesIdx).DataID                          = "dsPrice";
                XChart1.Series(SeriesIdx).YValueColumn                    = "TRANSFER_PRICE";
                XChart1.Series(SeriesIdx).Title                           = "Adj TP";
                XChart1.Series(SeriesIdx).Color                           = "#CC5555";
                XChart1.Series(SeriesIdx).Marks.Visible                   = true;
                XChart1.Series(SeriesIdx).Marks.Transparent               = true;
                XChart1.Series(SeriesIdx).Marks.Font.Name                 = "Tahoma";
                XChart1.Series(SeriesIdx).Marks.ArrowLength               = 0;
                XChart1.Series(SeriesIdx).Marks.Font.Color                = XChart1.ToOLEColor("black");
                XChart1.Series(SeriesIdx).asLine.LinePen.width            = 2;
                XChart1.Series(SeriesIdx).asLine.Pointer.Visible          = true;
                XChart1.Series(SeriesIdx).asLine.Pointer.HorizontalSize   = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.VerticalSize     = 4;
                XChart1.Series(SeriesIdx).asLine.Pointer.Style            = 7;
                XChart1.Series(SeriesIdx).asLine.Pointer.Pen.Style        = 0;
         
번호 제목 닉네임 조회 등록일
2549 LuxeCombo Bind 관련하여 문의 드립니다
김지영
1207 2007-01-11
2548 LuxeCombo Bind 관련하여 문의 드립니다
관리자
1301 2007-01-18
2547 gridtoExcel 엑셀다운로드받기
이정주
26495 2007-01-11
2546 gridtoExcel 엑셀다운로드받기
관리자
1266 2007-01-18
2545 가우스 4.0에서 트리뷰 에러가 나는것 같은데.. 파일
정상진
1161 2007-01-10
2544 가우스 4.0에서 트리뷰 에러가 나는것 같은데..
기술지원44
1342 2007-01-10
2543 레포트문의 (subsum 관련) 파일
김희라
1177 2007-01-10
2542 gauce report builder 버젼질문???
변재운
1113 2007-01-10
2541 gauce report builder 버젼질문???
기술지원44
1124 2007-01-10
Selected [긴급] 컴포넌트 에러 (TeeChart5.ocx)
정지현
19193 2007-01-09
2539 [긴급] 컴포넌트 에러 (TeeChart5.ocx)
정지현
69992 2007-01-09
2538 [긴급] 컴포넌트 에러 (TeeChart5.ocx)
정지현
1089 2007-01-09
2537 [긴급] 컴포넌트 에러 (TeeChart5.ocx)
기술지원44
1080 2007-01-10
2536 메세지 확인 부탁드립니다.
최성철
1045 2007-01-08
2535 메세지 확인 부탁드립니다.
관리자
1043 2007-01-09
2534 가우스리포트를 PDF 화일로 저장이 가능한가요?
이준구
1571 2007-01-04
2533 가우스리포트를 PDF 화일로 저장이 가능한가요?
기술지원
1098 2007-01-06
2532 가우스와 이클립스 디버그모드 충돌문제.
이창우
1402 2007-01-04
2531 가우스와 이클립스 디버그모드 충돌문제.
관리자
1631 2007-01-08
2530 몇번 전화연락도 하고 메일로 보냈는데 그래도 해결이 안되서 다시 한번 질문드립니다.
전현수
17261 2007-01-04
Tag List
XE Login