Search found 9 matches

by jfrancis
Thu Oct 08, 2009 4:13 pm
Forum: ActiveX
Topic: Resetting the DataSource not working
Replies: 3
Views: 5778

Re: Resetting the DataSource not working

I got it fixed here are the functions: Also, I try to attach files but extension h is not allowed ... what is allowed and how would you like me to transfer the project to you? //|---------------------------------------------------------------------------- void CTest_TChart_DB_Load_vADlg::DisplaySour...
by jfrancis
Wed Oct 07, 2009 4:24 pm
Forum: ActiveX
Topic: IAxisLabels.Exponent Odd or ?
Replies: 9
Views: 13570

Re: IAxisLabels.Exponent Odd or ?

Thanks, can you update when the fix is included?
by jfrancis
Tue Oct 06, 2009 8:48 pm
Forum: ActiveX
Topic: Resetting the DataSource not working
Replies: 3
Views: 5778

Resetting the DataSource not working

I am try to change the SQL command at runtime and when I update the DataSource I get nothing. Below is my functions: PS: If need be I can upload the sample project and a small data file. //|---------------------------------------------------------------------------- void CTest_TChart_DB_Load_vADlg::...
by jfrancis
Tue Oct 06, 2009 3:49 pm
Forum: ActiveX
Topic: IAxisLabels.Exponent Odd or ?
Replies: 9
Views: 13570

Re: IAxisLabels.Exponent Odd or ?

Yes,

I could solve the problem by doing the coding and handling the event myself.

Basically I'm saying is that your charting library is in ERROR and are you going to fix it?

Thanks,
John Francis

PS: I'm coding in C++ and MFC.
by jfrancis
Tue Oct 06, 2009 3:45 pm
Forum: ActiveX
Topic: Getting the DataSource Info out of chart
Replies: 5
Views: 7420

Re: Getting the DataSource Info out of chart

I got some of the info I needed see source code below: //|---------------------------------------------------------------------------- void CTest_TChart_DB_Load_vADlg::DisplaySourceStr(void) { VARIANT vrDataSrc = m_Chart.Series(0).GetDataSource(); ADODB::_RecordsetPtr aRecordSet = (_variant_t)vrData...
by jfrancis
Mon Sep 28, 2009 4:42 pm
Forum: ActiveX
Topic: Getting the DataSource Info out of chart
Replies: 5
Views: 7420

Re: Getting the DataSource Info out of chart

Sorry was was not clear. I'm not interested in the Axis-Label, that is ok at my end. What I'm after is to look at the contents of the DataSource, it is returned as a VARIANT data type, see "VARIANT DataSrc = m_Chart.Series(0).GetDataSource();" I am unsuccessful in converting it into an ADO (ADODB::_...
by jfrancis
Mon Sep 28, 2009 4:32 pm
Forum: ActiveX
Topic: IAxisLabels.Exponent Odd or ?
Replies: 9
Views: 13570

Re: IAxisLabels.Exponent Odd or ?

Sorry I was not clear. What the two plots show the same data with an x-axis linear (bottom image) and then plotting the x-axis using log scale (top image). The left three data points plot at "10" in linear and 10^0 ( which is 1 ) in log. I think it should of been 10^1 The middle three data points pl...
by jfrancis
Fri Sep 25, 2009 1:02 am
Forum: ActiveX
Topic: IAxisLabels.Exponent Odd or ?
Replies: 9
Views: 13570

IAxisLabels.Exponent Odd or ?

I tried using the "IAxisLabels.Exponent" set to TRUE to get exponent super scripts using the ValueFormat of "00e-0". It looks real nice, but the tick labels are wrong. When I plot linear the ticks line up with my data just right. The when I change to a log scale and this formating the values display...
by jfrancis
Fri Sep 25, 2009 12:53 am
Forum: ActiveX
Topic: Getting the DataSource Info out of chart
Replies: 5
Views: 7420

Getting the DataSource Info out of chart

I seem unable to get the DataSource decoded from a VARIANT

VARIANT DataSrc = m_Chart.Series(0).GetDataSource();
// Ok now what

I'd like to get the connection string out and what the axis value string are set to.

Thanks