User (Legacy) Posted July 19, 2006 Report Share Posted July 19, 2006 I have hanging bars i.e. I set the start value in IniValue and the "upper value" in Value My problem is that I would like to display the "real value" = Value - IniValue I have set that in the data column I have tried setting the pointLabelMask but can't get the value I have in the data column aChart.PointLabelMask ="%v"; // gives me the Value aChart.PointLabelMask ="%i"; // gives me the Inivalue Question is there a way to display thes value in the data column ?!?! This is what I found about the mask values http://support.softwarefx.com/OnlineDoc/CfxNet62//WinAPI/ChartCore_PointLabelMask.htm Regards Magnus Salgo Link to comment Share on other sites More sharing options...
Software FX Posted July 19, 2006 Report Share Posted July 19, 2006 There is no pre-defined macro that will give you %v-%i, you will need to capture the GetPointLabel event and build your own tooltip string. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 20, 2006 Author Report Share Posted July 20, 2006 Thanks I found this sample http://support.softwarefx.com/Samples/CfxIE/activex/GetPointLabel.asp Question is this also true for changing the label.... which is my problem.... "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:bdHd3T2qGHA.324@webserver3.softwarefx.com... > There is no pre-defined macro that will give you %v-%i, you will need to > capture the GetPointLabel event and build your own tooltip string. > > -- > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
Software FX Posted July 20, 2006 Report Share Posted July 20, 2006 Yes. Both the tooltip and the point label can be customized using an event. There a GetTip event and a GetPointLabel event. Notice that this sample is for using the client control and it is for Chart FX 5.x, you must capture the event server-side if you are generating an image, also, check the docs. for these events in Chart FX 6 as minor changes have occurred. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.