If you have a single 2-dimensional series with multiple data points (such as a single-color 2D line chart): If you have a single 2-dimensional series with one data point (such as a single-point 2D scatter chart): Value value /* Values semicolon-separated. Use XXYY or XYXY2 if your data looks like:.If you have a single 1-dimensional series with multiple data points (such as a single-color bar chart): Use XXYY, XYXY, or XYXY2 if your data looks like:.If you have a single 1-dimensional series with one data point (such as a radial gauge): Use ChartDataOptions() to change how data is read (see examples below). Use a legend to assign names to data series.A null value can be forced if data falls outside an expected range using ChartDataLowerLimits() and/or ChartDataUpperLimits().Use NULL to indicate a missing value (beware the potential for FileMaker's List() function to condense gaps).Timestamps must use & to join dates and times. Dates can be read as M/D/Y, D/M/Y, or Y/M/D depending on DateTimeOptions().Don't use commas as thousands separators in input numbers.Use ChartData() to include data in your xmCHART code (use whitespace such as spaces or returns to separate values, and semicolons to separate series/sections), or use ChartDataRead() to read data directly from a text file (use tabs and returns, or specify custom separators).A chart requires data, usually consisting of multiple values, often arranged in multiple series/sections.XmCHART supports single-line // and multi-line /* */ comments. Use OpenView() or OpenGroup() to establish drawing groups if desired, see examples here. OpenDrawing() (to specify the image size)įor more complex drawings, use OpenChart() to position a chart precisely within the drawing, or to place multiple charts in the same drawing (including overlaying charts over each other), see examples here.A typical chart has the following structure: The input text you pass to xmCHART uses functions (not to be confused with FileMaker functions) which describe the graphic you're asking for. ![]() ![]() ![]() XmCHART also comes with the function xmCH_DrawChart for generating graphics through the calculation engine (such as in a calculated container field). Usually this is done with the Draw Chart script step, which works like Set Field (set a field equal to some result - in this case, set a container field equal to the graphic produced when xmCHART processes your input text). XmCHART is a FileMaker plug-in that uses input text (containing data and options you specify) to generate an output graphic, most commonly a chart. Formatting Numbers, Dates, Times, and Text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |