Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15F2C10B9E for ; Thu, 22 Aug 2013 13:48:22 +0000 (UTC) Received: (qmail 96777 invoked by uid 500); 22 Aug 2013 13:48:21 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 96726 invoked by uid 500); 22 Aug 2013 13:48:21 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 96714 invoked by uid 99); 22 Aug 2013 13:48:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 13:48:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.25.134.83] (HELO mailout07.t-online.de) (194.25.134.83) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 13:48:14 +0000 Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de ) by mailout07.t-online.de with smtp id 1VCVEu-0003mW-Fe; Thu, 22 Aug 2013 15:47:52 +0200 Received: from [192.168.0.23] (ZSEIHwZTZhWUECs7r6mLh-dE9suAn9E64JOfwiQJyy90fcDgGdXGvGphzhFJaJsw01@[87.161.141.82]) by fwd01.t-online.de with esmtp id 1VCVEq-4YwV2u0; Thu, 22 Aug 2013 15:47:48 +0200 Message-ID: <52161680.4010303@t-online.de> Date: Thu, 22 Aug 2013 15:47:44 +0200 From: Regina Henschel User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 MIME-Version: 1.0 To: dev@openoffice.apache.org Subject: Re: review requested: [Bug 122822] Correct viewing of XY-, Column- and Line-Charts limited to 10000 records + 1 Heading row : [Attachment 81367] Fix patch References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AVK-Virus-Check: AVA 22.11957;33BE6 X-ID: ZSEIHwZTZhWUECs7r6mLh-dE9suAn9E64JOfwiQJyy90fcDgGdXGvGphzhFJaJsw01 X-TOI-MSGID: 5f7e50dc-4903-47b1-a73b-a5c44b097a9e X-Virus-Checked: Checked by ClamAV on apache.org Hi Clarence, my basis build has just finished and I need a little bit time to apply your patch and test it. But a suggestion beforehand: You use sal_Int32 nStep = nEndIndex >= 20000 ? 10 : 1; which produces a fix percent of dropped data points, e.g. from 24000 only 2400 would be kept. Wouldn't it be better, to make this dependent on the amount of data points? Something like sal_Int32 nStep = nEndIndex / 20000 +1; ? Kind regards Regina bugzilla@apache.org schrieb: > Clarence GUO has asked for review: > Bug 122822: Correct viewing of XY-, Column- and Line-Charts limited to 10000 > records + 1 Heading row > https://issues.apache.org/ooo/show_bug.cgi?id=122822 > > Attachment 81367: Fix patch > https://issues.apache.org/ooo/attachment.cgi?id=81367&action=edit > > > ------- Additional Comments from Clarence GUO > The earlier fix patch has a problem. It cannot fix the problem of hover tip > which is mentioned by Regina Henschel. > It will always get drawing shape's name for hover tip. But drawing shape's name > comes from the index when rendering these shapes. So if pick data points before > rendering, the index will be always from 1 to the number it picked out. > In order to solve this problem, picking must at view side, say rendering. > As each chart type has it's own rendering, my fix is only in AreaChart.cxx. > Area, line, XY and Radar chart share one implementation in this file. I tested > sample file of 121058, it's a line chart, convert it to area, XY, radar charts, > there are all performance problem. So my fix is only for these chart types. If > there are performance problem for other chart types who have huge data, then it > should be fixed separatedly. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org > For additional commands, e-mail: dev-help@openoffice.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org