Recent

Author Topic: one axis to the two charts  (Read 6588 times)

grzegorz

  • New member
  • *
  • Posts: 7
one axis to the two charts
« on: April 15, 2010, 08:43:19 am »
Is it possible to make a one horizontal axis to the two charts (the same Xmax xmin, etc, the same reaction to zoom)?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: one axis to the two charts
« Reply #1 on: April 15, 2010, 09:17:37 am »
If you use latest revision, yes. Set DataSource property of same axis of different charts to the same TDataSource.

grzegorz

  • New member
  • *
  • Posts: 7
Re: one axis to the two charts
« Reply #2 on: April 15, 2010, 09:26:27 am »
If you use latest revision, yes. Set DataSource property of same axis of different charts to the same TDataSource.
Thanks

grzegorz

  • New member
  • *
  • Posts: 7
Re: one axis to the two charts
« Reply #3 on: April 15, 2010, 09:49:47 am »
I have another question:
Is it possible to get the xmin xmax value showed  after use zoom function
(sorry for my bad english)

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: one axis to the two charts
« Reply #4 on: April 15, 2010, 04:13:29 pm »
Quote
Is it possible to make a one horizontal axis to the two charts (the same Xmax xmin, etc, the same reaction to zoom)?

Setting Marks.Source property will only give you the same marks,
but I do not understand what you mean by the same reaction to Zoom.

Do you mean that one chart must be automatically zoomed to the same extent as the other?
Because otherwise all charts react to zoom in the same manner by default.

Quote
Is it possible to get the xmin xmax value showed  after use zoom function

Look at the CurrentExtant and LogicalExtent properties.

 

TinyPortal © 2005-2018