User (Legacy) Posted January 26, 2004 Report Share Posted January 26, 2004 Hi. How can i suppress the fraction portion of a number? I did add the = DataEditor but dont want so see a number like 1.000.500,23 ... (want see= = 1.000.500 in such a case) Thank you. Ted Link to comment Share on other sites More sharing options...
Software FX Posted January 26, 2004 Report Share Posted January 26, 2004 Assign Decimals to zero: chart.AxisY.LabelsFormat.Decimals = 0; or chart.AxisY.DataFormat.Decimals = 0; The second option to affect only the data editor and tooltips, the first to affect the axis labels. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted January 26, 2004 Author Report Share Posted January 26, 2004 Hm, before this question i did used this label format thingy with the design= er = and read this settings in the chart instance. But for some reason after = this the whole number values of the chart did change in a completly wron= g = way. But will tomorrow try your suggestion. Thank you so far > Assign Decimals to zero: > > chart.AxisY.LabelsFormat.Decimals =3D 0; > > or > > chart.AxisY.DataFormat.Decimals =3D 0; > > The second option to affect only the data editor and tooltips, the fir= st = > to > affect the axis labels. > Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 9, 2004 Author Report Share Posted February 9, 2004 FP, is this possible also using the (dll version, MFC). I tried m_pChartFX->Axis->Item[AXIS_Y]->LabelsFormat->Decimals = 0; m_pChartFX->Axis->Item[AXIS_Y]->DataFormat->Decimals = 0; but it seem not to be working? Thanks Artan Dimnaku "Ted" <Ted@gmx.li> wrote in message news:opr2ehbls5n4pxi2@localhost... Hm, before this question i did used this label format thingy with the designer and read this settings in the chart instance. But for some reason after this the whole number values of the chart did change in a completly wrong way. But will tomorrow try your suggestion. Thank you so far > Assign Decimals to zero: > > chart.AxisY.LabelsFormat.Decimals = 0; > > or > > chart.AxisY.DataFormat.Decimals = 0; > > The second option to affect only the data editor and tooltips, the first > to > affect the axis labels. > Link to comment Share on other sites More sharing options...
Software FX Posted February 9, 2004 Report Share Posted February 9, 2004 I assumed you were using Chart FX 6. In Chart FX 5 you do: m_pChartFX->Axis->Item[AXIS_Y]->Decimals = 0 -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 9, 2004 Author Report Share Posted February 9, 2004 Is there any ChartFX Client Server 6 ? "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:eL$3Aq07DHA.3244@webserver3.softwarefx.com... I assumed you were using Chart FX 6. In Chart FX 5 you do: m_pChartFX->Axis->Item[AXIS_Y]->Decimals = 0 -- FP Software FX Link to comment Share on other sites More sharing options...
Software FX Posted February 10, 2004 Report Share Posted February 10, 2004 Yes. Chart FX for .NET (6.0) includes a Windows Form Control (Client/Server). -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.