TChartView
I have a bar chart and the labels displayed make no sense to me. The labels on the X Axis are the same as the 'hover ' values. I don't know why you would repeat the same value instead of displaying the Y values in the 'hover' text. I want to hide the hover text it just wastes space (if it displayed the Y values it would be OK).
In the picture attached Dan Morgan has 14 laps where the lap time was 4.9 seconds. In the chart I'd expect the 'Hover' text to say "14" not "4.9". The 4.9 is obvious since it's displayed on the X axis labels.
TfrxChartView *pChart = ((TfrxChartView *)ReportPrintResults->FindObject("Chart2"));
pChart->Chart->Hover->Visible = false; // This doesn't work, the redundant hover text is still displayed
I'd like to know how to remove the hover text, and how to change the value of the hover text. I did a google search and there is no documentation on this that I can find.
Thanks!
In the picture attached Dan Morgan has 14 laps where the lap time was 4.9 seconds. In the chart I'd expect the 'Hover' text to say "14" not "4.9". The 4.9 is obvious since it's displayed on the X axis labels.
TfrxChartView *pChart = ((TfrxChartView *)ReportPrintResults->FindObject("Chart2"));
pChart->Chart->Hover->Visible = false; // This doesn't work, the redundant hover text is still displayed
I'd like to know how to remove the hover text, and how to change the value of the hover text. I did a google search and there is no documentation on this that I can find.
Thanks!
Comments
I presume you have already tried the FR5 User Manual - Chart Section
From memory you have to do something like setting (for each series) Marks.Style = smsValue (in code) or navigate in the wizard to the appropriate page and make your choice from the drop-down.
Hope this helps...
Cheers, Paul
===========
Edit
===========
I've just checked FastReport Vcl v6.0.4 Chart Editor. The properties for a Series include Marks with a sub-property Styles. There are ~15 alternatives in the drop-down box. Not sure what you currently have selected, but it would be worth experimenting with different values (suspect you need smsValue). [img]style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Cheers, Paul[/img]