Search found 23 matches

by strobbekoen
Fri Feb 06, 2015 10:28 am
Forum: VCL
Topic: logarithmic bottom axis
Replies: 4
Views: 6979

Re: logarithmic bottom axis

Yes, I want to be able to scale the axis and the points.
by strobbekoen
Thu Feb 05, 2015 12:36 pm
Forum: VCL
Topic: logarithmic bottom axis
Replies: 4
Views: 6979

logarithmic bottom axis

Hi, I am having some issues configuring a bottom axis in logarithmic mode. I have a dataset of points (x,y). The x values are time in minutes, from 5 seconds to 60minutes. The time points are: between 5" and 1' : per 5 seconds between 1' and 10' : per 1 minute between 10' and 60' : per 5 minutes So,...
by strobbekoen
Sat May 17, 2014 10:28 am
Forum: VCL
Topic: hyperbole
Replies: 3
Views: 5621

Re: hyperbole

Thanks for the help - here's the result
iqo2_cp_time.gif
iqo2_cp_time.gif (64.78 KiB) Viewed 5672 times
by strobbekoen
Fri May 16, 2014 5:30 am
Forum: VCL
Topic: hyperbole
Replies: 3
Views: 5621

hyperbole

Hello,

I want to draw a hyperbole with the equation y = a + b/x
iqo2_cp_hyperbole.gif
iqo2_cp_hyperbole.gif (6.96 KiB) Viewed 5729 times
What would be the best way to achieve this ?
I thought of a TFastLineSeries with a TeeFunction y = f(x)
Then set the bottom axis min/max to the required range
Or is there a better way ?

Thank you
by strobbekoen
Sat Feb 02, 2013 9:59 pm
Forum: VCL
Topic: chart cursor indicator
Replies: 1
Views: 3433

chart cursor indicator

Hi, I am using a 2-pixel-wide vertical cursor in my chart. The chart is linked to various other components like for example a table, moving the record in the table moves the cursor in the chart to the related postion. The record in the table corresponds to a colorband in the table. As shown in the s...
by strobbekoen
Mon Sep 24, 2012 10:00 am
Forum: VCL
Topic: flicker when destroying series
Replies: 4
Views: 6343

Re: flicker when destroying series

Apparently, the culprit is the DBChart.AutoRefresh property. When I change the Begin/End update as below, the chart refreshes instantly when switching to / creating / destroying groups of series. The question is why the chart refreshes the data when a series is destroyed which is not even linked to ...
by strobbekoen
Mon Sep 24, 2012 9:27 am
Forum: VCL
Topic: flicker when destroying series
Replies: 4
Views: 6343

Re: flicker when destroying series

Hi, I tried it but it does not seem to change anything. However, when I debug on the line Series.Free I get the call stack as in the attached file. The series I am destroying is not linked to a datasource though, the points are just added manually. Edit: when i create the series and populate them, i...
by strobbekoen
Fri Sep 21, 2012 10:21 am
Forum: VCL
Topic: flicker when destroying series
Replies: 4
Views: 6343

flicker when destroying series

Hi, I have a TDBChart which contains various series, some linked to a datasource and others created and populated at runtime. In the attached screenshot there are TAreaSeries with custom vertical axes created at runtime. Before I (re)create the series, I destroy the series as in code below. The prob...
by strobbekoen
Fri Sep 14, 2012 10:32 am
Forum: VCL
Topic: Centered Marks on Stacked Bars
Replies: 6
Views: 11392

Re: Centered Marks on Stacked Bars

Hi, I got a access violation because there are also null points so the mark position object can be nil. I have a central procedure called RefreshChart. All the series are created at runtime depending on the settings the user selects. The very first time when the form is created and the chart is refr...
by strobbekoen
Thu Sep 13, 2012 11:42 am
Forum: VCL
Topic: Centered Marks on Stacked Bars
Replies: 6
Views: 11392

Re: Centered Marks on Stacked Bars

Hi, I am using version 8.08 with Delphi 2009. I can't find the MarksOnBar property, but since you say it's not optimal for stacked bars, I think I will go for the custom option. I tried code like this: procedure TFramePeriodicChart.RefreshMarks; var I,J: Integer; S: TChartSeries; begin for I := 0 to...
by strobbekoen
Thu Sep 13, 2012 11:02 am
Forum: VCL
Topic: Centered Marks on Stacked Bars
Replies: 6
Views: 11392

Centered Marks on Stacked Bars

Hi, I have a application where I show volume distributions using stacked bars, as in the attached screenshot. I am displaying the volumes using the Marks but I am having some difficulty getting them in a readable position. Ideally I would like to have the Marks centered on each bar value. Is there a...
by strobbekoen
Tue Aug 14, 2012 10:21 am
Forum: VCL
Topic: stacked bars
Replies: 5
Views: 8054

Re: stacked bars

Thank you for the suggestions and the compliment.
I will try your suggestions and see which one works best. Thanks for the help :)
by strobbekoen
Mon Aug 13, 2012 3:25 pm
Forum: VCL
Topic: stacked bars
Replies: 5
Views: 8054

Re: stacked bars

Sorry, I forgot the attachments.
by strobbekoen
Mon Aug 13, 2012 3:23 pm
Forum: VCL
Topic: stacked bars
Replies: 5
Views: 8054

Re: stacked bars

Thank you for the helpful answer, it works. Since I create the series at run time, I set the OffsetPercent directly when creating the series instead of using the event. I attached a few more shots: iqo2_periodic3 and iqo2_periodic4 display the same period in weeks, but one with a single stackgroup, ...
by strobbekoen
Mon Aug 13, 2012 11:01 am
Forum: VCL
Topic: stacked bars
Replies: 5
Views: 8054

stacked bars

Hi, I have groups of bar series in a chart, with 2 stack groups. Each color and group is a bar series. I have the MultiBar property set to mbStacked, and StackGroup set to 0 for first group and 1 for the second. Each group is on a custom y-axis, bottom axis is shared for all series. The bars of the ...