Hello, I am creating a touch screen application and I would like to use some sort of axis arrow so the user can scroll a chart. I see the Pen.Width, but this is only for the outline of the arrow and does not extend the clickable surface. Is there any way to make the axis arrow clickable surface larger?
Thanks
Possible to make Axisarrows larger?
Re: Possible to make Axisarrows larger?
Hello LibDundas,
I find a solution for increase area clickable, using property axisarrow.lenght. This property increase size of axisarrow, therefore increase area clickable and I think you can serve for solve your issue . On the other hand this solution is not perfect because area have zones restricted, so I have added your issue in the list of Feature request, to have in mind to new versions of TeeChartFor .NET.
Please check that next code is that you want for your application:
I hope that will helps.
Thanks,
I find a solution for increase area clickable, using property axisarrow.lenght. This property increase size of axisarrow, therefore increase area clickable and I think you can serve for solve your issue . On the other hand this solution is not perfect because area have zones restricted, so I have added your issue in the list of Feature request, to have in mind to new versions of TeeChartFor .NET.
Please check that next code is that you want for your application:
Code: Select all
Steema.TeeChart.Tools.AxisArrow axisArrow;
Steema.TeeChart.Styles.FastLine fast;
private void InitializeChart()
{
fast = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
axisArrow = new Steema.TeeChart.Tools.AxisArrow(tChart1.Chart);
fast.FillSampleValues(10);
axisArrow.Axis = tChart1.Axes.Bottom;
axisArrow.Length = 50;
axisArrow.Pen.Width = 7;
axisArrow.Pen.Color= Color.Red;
axisArrow.ScrollPercent = 20;
axisArrow.Brush.Color = Color.Red;
}
I hope that will helps.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Possible to make Axisarrows larger?
Hi Sandra, thanks for the response. The issue still exists with your solution though. The major problem with the axisArrows is that the clickable area (along the length of the arrow) is only a couple pixels wide.
Currently I have the .Length property set to 65, but it is still very hard to find the clickable space along the length.
Is it possible to use other images that may provide a larger space?
Currently I have the .Length property set to 65, but it is still very hard to find the clickable space along the length.
Is it possible to use other images that may provide a larger space?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Possible to make Axisarrows larger?
Hi LibDundas,
I'm afraid this is not possible for now. That's the feature Sandra added to the wish-list to be considered for inclusion in future releases.
I'm afraid this is not possible for now. That's the feature Sandra added to the wish-list to be considered for inclusion in future releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Possible to make Axisarrows larger?
fyi to anyone in the future: As a solution to this, I just added a button on the form that toggles the LEFT mouse button between the ZOOM and PAN features..this way the user has full panning abilities rather than per axis arrow clicks.