Hi,
I have two questions concerning TWebGoogleChart:
1) Event onCustomize ChartJSON has 2 params but in documentation only one (Sender)
procedure TfrmDashboard.wbglchrtProductionStatusCustomizeChartJSON(Sender: TObject; var Options: string);
2) Where can I get Data and Chart attribute in google chart object. I can't find this but in documentation on page 178 and example on page 181 I see this possibility.
Regards,
TWebGoogleChart Problems
Hi,
We are investigating your questions and will report back as soon as possible.
Ok ... thx
Hi,
Any news about this issue?
Second point is important for me.
Regards,
- That is correct. The PDF manual has been updated to reflect this and the extra information will be available with the next update of the TMS FNC Cloud Pack.2) Chart and Data are two TWebGoogleChart properties of the type TJSObject.Example:procedure TForm1.WebButton1Click(Sender: TObject);vardata: TJSObject;chart: TJSObject;begindata := WebGoogleChart1.Data;chart := WebGoogleChart1.Chart;asmdata.setValue(0, 1, 20); //rowIndex, columnIndex, valuedata.addColumn('number', 'Label'); //datatype, labeldata.addRow(['Row', 10, 20, 30, 40]); //rowTitle, Column valueschart.draw(); //update chartend;end;
ok ... thx very much for your answer