Ticket #1031 (closed NOT SET: fixed)

Opened 13 years ago

Last modified 13 years ago

Mediation and Price Elasticity shape clip X axis to number of Ecosim year

Reported by: joeb Owned by:
Priority: normal Milestone: Ecopath 6: release 6.3 BETA
Component: Ecosim Version:
Severity: minor Keywords:
Cc:

Description

The X axis on Mediation and Price Elasticity sketch pad re-sizes with the Ecosim years these shapes should always plot all the points.

Forcing function should re-size with the number of ecosim years.

Change History

comment:1 Changed 13 years ago by joeb

I fixed this in cShapeImage.DrawShape?(). 

DrawShape?(...) was already checking the shape data type for other functionality it now also overrides the x axis if the type is PriceMediation? or Mediation.

I did not set the ticket to Fixed so it would stay up for a bit as a reminder that I did this.

comment:2 Changed 13 years ago by joeb

The cShapeImage.DrawShape?() solution will not work as this messes up the x axis scaling for the drawing. This will have to be fixed by setting the x axis to the number of points, I'm guessing, or the ecosim run length depending on the shape type.

comment:3 Changed 13 years ago by jeroens

A system is already in place for this: ucSketchPad.XAxisMaxValue
I will debug this. cShapeImage should not try to figure this out; that is the job of the sketch pad (and possibly the controlling shape gui handlers)

comment:4 Changed 13 years ago by jeroens

  • Status changed from new to closed
  • Resolution set to fixed

Fixed

Note: See TracTickets for help on using tickets.