Author Topic: Super fast Charts  (Read 4811 times)

HSE

  • Member
  • *****
  • Posts: 2499
  • AMD 7-32 / i3 10-64
Re: Super fast Charts
« Reply #15 on: September 29, 2021, 09:21:05 AM »
they are expensive because you have to precalculate.
Yes. I use title and legends because any application have only one object that make 5-30 graphics with 2-6 series each.
I fixed in that line. And more series, shorter the names :biggrin:.

I noted that, unlike ObjAsm32 version, it don't adjust margins when don't have axis titles.  :hmmm:

For sure I will have more ideas when I use the super fast chart   :thumbsup: 


PD: I almost forget that some weeks ago I maked several examples in the "Dark Side":  Crecimiento Animal II
To change "complejidad" modifies number of series.
Equations in Assembly: SmplMath

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 1083
  • ObjAsm Developer
    • ObjAsm
Re: Super fast Charts
« Reply #16 on: September 29, 2021, 04:22:40 PM »
Hi HSE
Very nice homepage.
The calculation model for the predictions appears to be complex. It all looks very professional. :thumbsup:

Biterider

HSE

  • Member
  • *****
  • Posts: 2499
  • AMD 7-32 / i3 10-64
Re: Super fast Charts
« Reply #17 on: September 29, 2021, 10:57:20 PM »
Hi Biterider!

It all looks very professional. :thumbsup:
Thanks  :thumbsup:

Regards, HSE.
Equations in Assembly: SmplMath

nidud

  • Member
  • *****
  • Posts: 2388
    • https://github.com/nidud/asmc
Re: Super fast Charts
« Reply #18 on: September 30, 2021, 12:07:22 AM »
deleted
« Last Edit: February 26, 2022, 05:14:55 AM by nidud »

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 1083
  • ObjAsm Developer
    • ObjAsm
Re: Super fast Charts
« Reply #19 on: September 30, 2021, 01:47:04 AM »
Hi nidud
The only thing I did was changing some subroutines. It seems to me that a heuristic scanner detected a suspicious sequence of bytes and triggered a false positive result.
With the new compilation, this sequence is not there anymore and it passes the test.

Biterider

LiaoMi

  • Member
  • *****
  • Posts: 1055
Re: Super fast Charts
« Reply #20 on: October 01, 2021, 07:49:52 PM »
Hi Biterider,

I have a strange effect, if you drag the graph, then it randomly changes the labels, is that how it should be?  :rolleyes:

Here's an example - https://i.ibb.co/GMpT7Xf/2021-09-29-14-17-38-Demo07.jpg

Thanks for the awesome implementation!  :thup:

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 1083
  • ObjAsm Developer
    • ObjAsm
Re: Super fast Charts
« Reply #21 on: October 02, 2021, 03:07:28 AM »
Hi LiaoMi
The scale labels are defined by the number of major divisions and minor divisions. They are set by the initial chart setup (in code) or the setup dialog. As you drag or zoom the data, the scales change automatically based on an algorithm to optimize the scale view, choosing the best combination of major and minor divisions.

Maybe it seems random, but there is a logic behind  :biggrin:

Biterider

FORTRANS

  • Member
  • *****
  • Posts: 1237
Re: Super fast Charts
« Reply #22 on: October 02, 2021, 05:50:31 AM »
Hi,

   Windows 8.1 ran both versions.  They looked identical.
The program did not run on Windows XP.

Regards,


Steve N.

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 1083
  • ObjAsm Developer
    • ObjAsm
Re: Super fast Charts
« Reply #23 on: October 02, 2021, 06:00:52 AM »
Hi FORTRANS
Thanks, that sounds reasonable. The oldest supported operating system for this code is Win7.
You could probably make it compatible with WinXP by foregoing some APIs. Unfortunately, I no longer have XP available.

Biterider

LiaoMi

  • Member
  • *****
  • Posts: 1055
Re: Super fast Charts
« Reply #24 on: November 28, 2021, 09:21:45 PM »
Hi LiaoMi
The scale labels are defined by the number of major divisions and minor divisions. They are set by the initial chart setup (in code) or the setup dialog. As you drag or zoom the data, the scales change automatically based on an algorithm to optimize the scale view, choosing the best combination of major and minor divisions.

Maybe it seems random, but there is a logic behind  :biggrin:

Biterider

Hi Biterider,

this means that this is such a feature, I observed in other statistical programs that only with a zoom does such an effect occur, and when dragging, all the designations remain in place. Then, in order to display all the labels, I need to move the mouse until the labels appear  :biggrin:


Biterider

  • Moderator
  • Member
  • *****
  • Posts: 1083
  • ObjAsm Developer
    • ObjAsm
Re: Super fast Charts
« Reply #25 on: November 29, 2021, 12:05:15 AM »
Hi LiaoMi
Good to hear from you  :thumbsup:

Your description is correct. The method responsible for this behavior is ChartFlat.CalcScaleDivs. Based on the scale of min and max values, the number of decimal places, etc., it calculates the best combination. By "best" I mean the best for my particular application. I wrote this routine many years ago to visualize large measurement data series that I can zoom in to see some details and at the same time see the overall trend as I zoom out.
It is absolutely correct that it is not suitable for any other purpose. In this case this routine can be modified for a different behavior.  :cool:

Biterider

HSE

  • Member
  • *****
  • Posts: 2499
  • AMD 7-32 / i3 10-64
Re: Super fast Charts
« Reply #26 on: November 29, 2021, 10:42:51 PM »
Hi Biterider!!

Original LiaoMi observation refer to existence of 2 different methods: one initially and other after you make some interaction.

Regards, HSE.
Equations in Assembly: SmplMath