1

Can anyone let me know how we can restrict the user to change the data for for series or whether we can disable it.

Thanks Akshay

1 Answer 1

0

Given such a generic answer and not knowing the nature of your applications we can't provide a specific answer. However, as a general rule of thumb, don't grant users access to the chart editor nor any functionality that would allow them to use data.

Also, this has been implemented for next TeeChart VCL/FMX release: http://bugs.teechart.net/show_bug.cgi?id=484#c1

This hasn't been implemented for the ActiveX version though now, build 2014.0.0.1 from 19th June. We will add it for the next maintenance release. It should be something like this:

TeeEditor1.Options.DataEditing = False

Other Current alternatives are:

  1. You can use the ChartGrid component and set it to read-only: ChartGrid1.ReadOnly = True
  2. Hiding Data tab in TeeEditor: TeeEditor1.ShowPages.SeriesData = False
10
  • 1
    Actually user can change the remaining property of Editting. The requirement is that data which is shown Data Tab should be read only not editable Commented Nov 27, 2013 at 9:14
  • @AkshayBhalla this is not possible for now. I have added it as a feature request for future versions: bugs.teechart.net/show_bug.cgi?id=484. In the meantime you could use a read-only grid to display data. Commented Nov 27, 2013 at 11:20
  • is there any way we can disable data tab from the Editing Commented Nov 27, 2013 at 12:28
  • @AkshayBhalla you can only choose to hide data tab in the editor as shown in the "All Features\Welcome!\Components\Chart Editor\Chart Editor dialog" example at the new features demo, available at TeeChart's program group. Commented Nov 27, 2013 at 12:39
  • 1
    @AkshayBhalla the ActiveX version from 19th June (v2014.0.0.1) supports this: TeeEditor1.Options.EditData = False
    – Yeray
    Commented Jul 1, 2014 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.