ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Variable scale x-axis
Posted by David Casillas on Feb-10-2014 19:19
I need an x-axis to display 1 week values, but the first week, will be special and will include
one tick (and asociated data) for every day in the week. So I need the first x-axis ticks to
be 1 day long and from there on 1 week long. The scale should be consistent with the time
duration, so the first 7 ticks should span as a whole the same as the rest of 1 week ticks.

The x axis will look something like this:

       |-|-|-|-|-|-|--------|-------|-------|-------
       1 2 3 4  5 6 7       2 weeks  3 weeks  4 weeks

I know how I can set the x-axis daily and them explicity set my data values to match the
first 7 days and then just 1 value for every week using setXData() method. But I don't know
how can I set the x-axis to have a variable number of labels: 1 each day in the first week,
and one each week from there.

  Re: Variable scale x-axis
Posted by David Casillas on Feb-10-2014 20:34
I have found a workaround. I misinterpreted how x axis was constructed. Just setting empty
string values for the x-axis ticks I don't want to display works fine to suit my needs.