<?php

/**
 * JPGraph v3.6.21
 */

// Note: Format of each error message is array(<error message>,<number of arguments>)
$_jpg_messages = [
/*
 ** Headers already sent error. This is formatted as HTML different since this will be sent back directly as text
 */
    10 => ['<table border="1"><tr><td style="color:darkred; font-size:1.2em;"><b>JpGraph Error:</b>
HTTP headers have already been sent.<br>Caused by output from file <b>%s</b> at line <b>%d</b>.</td></tr><tr><td><b>Explanation:</b><br>HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it\'s image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).<p>Most likely you have some text in your script before the call to <i>Graph::Stroke()</i>. If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser. <p>For example it is a common mistake to leave a blank line before the opening "<b>&lt;?php</b>".</td></tr></table>', 2],

/*
 ** Setup errors
 */
    11 => ['No path specified for CACHE_DIR. Please specify CACHE_DIR manually in jpg-config.inc', 0],
    12 => ['No path specified for TTF_DIR and path can not be determined automatically. Please specify TTF_DIR manually (in jpg-config.inc).', 0],
    13 => ['The installed PHP version (%s) is not compatible with this release of the library. The library requires at least PHP version %s', 2],

/*
 **  jpgraph_bar
 */

    2001 => ['Number of colors is not the same as the number of patterns in BarPlot::SetPattern()', 0],
    2002 => ['Unknown pattern specified in call to BarPlot::SetPattern()', 0],
    2003 => ['Number of X and Y points are not equal. Number of X-points: %d Number of Y-points: %d', 2],
    2004 => ['All values for a barplot must be numeric. You have specified value nr [%d] == %s', 2],
    2005 => ['You have specified an empty array for shadow colors in the bar plot.', 0],
    2006 => ['Unknown position for values on bars : %s', 1],
    2007 => ['Cannot create GroupBarPlot from empty plot array.', 0],
    2008 => ['Group bar plot element nbr %d is undefined or empty.', 0],
    2009 => ['One of the objects submitted to GroupBar is not a BarPlot. Make sure that you create the GroupBar plot from an array of BarPlot or AccBarPlot objects. (Class = %s)', 1],
    2010 => ['Cannot create AccBarPlot from empty plot array.', 0],
    2011 => ['Acc bar plot element nbr %d is undefined or empty.', 1],
    2012 => ['One of the objects submitted to AccBar is not a BarPlot. Make sure that you create the AccBar plot from an array of BarPlot objects. (Class=%s)', 1],
    2013 => ['You have specified an empty array for shadow colors in the bar plot.', 0],
    2014 => ['Number of datapoints for each data set in accbarplot must be the same', 0],
    2015 => ['Individual bar plots in an AccBarPlot or GroupBarPlot can not have specified X-coordinates', 0],

/*
 **  jpgraph_date
 */

    3001 => ['It is only possible to use either SetDateAlign() or SetTimeAlign() but not both', 0],

/*
 **  jpgraph_error
 */

    4002 => ['Error in input data to LineErrorPlot. Number of data points must be a multiple of 3', 0],

/*
 **  jpgraph_flags
 */

    5001 => ['Unknown flag size (%d).', 1],
    5002 => ['Flag index %s does not exist.', 1],
    5003 => ['Invalid ordinal number (%d) specified for flag index.', 1],
    5004 => ['The (partial) country name %s does not have a corresponding flag image. The flag may still exist but under another name, e.g. instead of "usa" try "united states".', 1],

/*
 **  jpgraph_gantt
 */

    6001 => ['Internal error. Height for ActivityTitles is < 0', 0],
    6002 => ['You can\'t specify negative sizes for Gantt graph dimensions. Use 0 to indicate that you want the library to automatically determine a dimension.', 0],
    6003 => ['Invalid format for Constrain parameter at index=%d in CreateSimple(). Parameter must start with index 0 and contain arrays of (Row,Constrain-To,Constrain-Type)', 1],
    6004 => ['Invalid format for Progress parameter at index=%d in CreateSimple(). Parameter must start with index 0 and contain arrays of (Row,Progress)', 1],
    6005 => ['SetScale() is not meaningful with Gantt charts.', 0],
    6006 => ['Cannot autoscale Gantt chart. No dated activities exist. [GetBarMinMax() start >= n]', 0],
    6007 => ['Sanity check for automatic Gantt chart size failed. Either the width (=%d) or height (=%d) is larger than MAX_GANTTIMG_SIZE. This could potentially be caused by a wrong date in one of the activities.', 2],
    6008 => ['You have specified a constrain from row=%d to row=%d which does not have any activity', 2],
    6009 => ['Unknown constrain type specified from row=%d to row=%d', 2],
    6010 => ['Illegal icon index for Gantt builtin icon [%d]', 1],
    6011 => ['Argument to IconImage must be string or integer', 0],
    6012 => ['Unknown type in Gantt object title specification', 0],
    6015 => ['Illegal vertical position %d', 1],
    6016 => ['Date string (%s) specified for Gantt activity can not be interpretated. Please make sure it is a valid time string, e.g. 2005-04-23 13:30', 1],
    6017 => ['Unknown date format in GanttScale (%s).', 1],
    6018 => ['Interval for minutes must divide the hour evenly, e.g. 1,5,10,12,15,20,30 etc You have specified an interval of %d minutes.', 1],
    6019 => ['The available width (%d) for minutes are to small for this scale to be displayed. Please use auto-sizing or increase the width of the graph.', 1],
    6020 => ['Interval for hours must divide the day evenly, e.g. 0:30, 1:00, 1:30, 4:00 etc. You have specified an interval of %d', 1],
    6021 => ['Unknown formatting style for week.', 0],
    6022 => ['Gantt scale has not been specified.', 0],
    6023 => ['If you display both hour and minutes the hour interval must be 1 (Otherwise it doesn\'t make sense to display minutes).', 0],
    6024 => ['CSIM Target must be specified as a string. Start of target is: %d', 1],
    6025 => ['CSIM Alt text must be specified as a string. Start of alt text is: %d', 1],
    6027 => ['Progress value must in range [0, 1]', 0],
    6028 => ['Specified height (%d) for gantt bar is out of range.', 1],
    6029 => ['Offset for vertical line must be in range [0,1]', 0],
    6030 => ['Unknown arrow direction for link.', 0],
    6031 => ['Unknown arrow type for link.', 0],
    6032 => ['Internal error: Unknown path type (=%d) specified for link.', 1],
    6033 => ['Array of fonts must contain arrays with 3 elements, i.e. (Family, Style, Size)', 0],

/*
 **  jpgraph_gradient
 */

    7001 => ['Unknown gradient style (=%d).', 1],

/*
 **  jpgraph_iconplot
 */

    8001 => ['Mix value for icon must be between 0 and 100.', 0],
    8002 => ['Anchor position for icons must be one of "top", "bottom", "left", "right" or "center"', 0],
    8003 => ['It is not possible to specify both an image file and a country flag for the same icon.', 0],
    8004 => ['In order to use Country flags as icons you must include the "jpgraph_flags.php" file.', 0],

/*
 **  jpgraph_imgtrans
 */

    9001 => ['Value for image transformation out of bounds. Vanishing point on horizon must be specified as a value between 0 and 1.', 0],

/*
 **  jpgraph_lineplot
 */

    10001 => ['LinePlot::SetFilled() is deprecated. Use SetFillColor()', 0],
    10002 => ['Plot too complicated for fast line Stroke. Use standard Stroke()', 0],
    10003 => ['Each plot in an accumulated lineplot must have the same number of data points.', 0],

/*
 **  jpgraph_log
 */

    11001 => ['Your data contains non-numeric values.', 0],
    11002 => ['Negative data values can not be used in a log scale.', 0],
    11003 => ['Your data contains non-numeric values.', 0],
    11004 => ['Scale error for logarithmic scale. You have a problem with your data values. The max value must be greater than 0. It is mathematically impossible to have 0 in a logarithmic scale.', 0],
    11005 => ['Specifying tick interval for a logarithmic scale is undefined. Remove any calls to SetTextLabelStart() or SetTextTickInterval() on the logarithmic scale.', 0],

/*
 **  jpgraph_mgraph
 */

    12001 => ['You are using GD 2.x and are trying to use a background images on a non truecolor image. To use background images with GD 2.x it is necessary to enable truecolor by setting the USE_TRUECOLOR constant to TRUE. Due to a bug in GD 2.0.1 using any truetype fonts with truecolor images will result in very poor quality fonts.', 0],
    12002 => ['Incorrect file name for MGraph::SetBackgroundImage() : %s Must have a valid image extension (jpg,gif,png) when using auto detection of image type', 1],
    12003 => ['Unknown file extension (%s) in MGraph::SetBackgroundImage() for filename: %s', 2],
    12004 => ['The image format of your background image (%s) is not supported in your system configuration. ', 1],
    12005 => ['Can\'t read background image: %s', 1],
    12006 => ['Illegal sizes specified for width or height when creating an image, (width=%d, height=%d)', 2],
    12007 => ['Argument to MGraph::Add() is not a valid GD image handle.', 0],
    12008 => ['Your PHP (and GD-lib) installation does not appear to support any known graphic formats.', 0],
    12009 => ['Your PHP installation does not support the chosen graphic format: %s', 1],
    12010 => ['Can\'t create or stream image to file %s Check that PHP has enough permission to write a file to the current directory.', 1],
    12011 => ['Can\'t create truecolor image. Check that you really have GD2 library installed.', 0],
    12012 => ['Can\'t create image. Check that you really have GD2 library installed.', 0],

/*
 **  jpgraph_pie3d
 */

    14001 => ['Pie3D::ShowBorder() . Deprecated function. Use Pie3D::SetEdge() to control the edges around slices.', 0],
    14002 => ['PiePlot3D::SetAngle() 3D Pie projection angle must be between 5 and 85 degrees.', 0],
    14003 => ['Internal assertion failed. Pie3D::Pie3DSlice', 0],
    14004 => ['Slice start angle must be between 0 and 360 degrees.', 0],
    14005 => ['Pie3D Internal error: Trying to wrap twice when looking for start index', 0],
    14006 => ['Pie3D Internal Error: Z-Sorting algorithm for 3D Pies is not working properly (2). Trying to wrap twice while stroking.', 0],
    14007 => ['Width for 3D Pie is 0. Specify a size > 0', 0],

/*
 **  jpgraph_pie
 */

    15001 => ['PiePLot::SetTheme() Unknown theme: %s', 1],
    15002 => ['Argument to PiePlot::ExplodeSlice() must be an integer', 0],
    15003 => ['Argument to PiePlot::Explode() must be an array with integer distances.', 0],
    15004 => ['Slice start angle must be between 0 and 360 degrees.', 0],
    15005 => ['PiePlot::SetFont() is deprecated. Use PiePlot->value->SetFont() instead.', 0],
    15006 => ['PiePlot::SetSize() Radius for pie must either be specified as a fraction [0, 0.5] of the size of the image or as an absolute size in pixels  in the range [10, 1000]', 0],
    15007 => ['PiePlot::SetFontColor() is deprecated. Use PiePlot->value->SetColor() instead.', 0],
    15008 => ['PiePlot::SetLabelType() Type for pie plots must be 0 or 1 (not %d).', 1],
    15009 => ['Illegal pie plot. Sum of all data is zero for Pie Plot', 0],
    15010 => ['Sum of all data is 0 for Pie.', 0],
    15011 => ['In order to use image transformation you must include the file jpgraph_imgtrans.php in your script.', 0],
    15012 => ['PiePlot::SetTheme() is no longer supported. Use PieGraph::SetTheme()', 0],

/*
 **  jpgraph_plotband
 */

    16001 => ['Density for pattern must be between 1 and 100. (You tried %f)', 1],
    16002 => ['No positions specified for pattern.', 0],
    16003 => ['Unknown pattern specification (%d)', 0],
    16004 => ['Min value for plotband is larger than specified max value. Please correct.', 0],

/*
 **  jpgraph_polar
 */

    17001 => ['Polar plots must have an even number of data point. Each data point is a tuple (angle,radius).', 0],
    17002 => ['Unknown alignment specified for X-axis title. (%s)', 1],
    //17003 => array('Set90AndMargin() is not supported for polar graphs.',0),
    17004 => ['Unknown scale type for polar graph. Must be "lin" or "log"', 0],

/*
 **  jpgraph_radar
 */

    18001 => ['Client side image maps not supported for RadarPlots.', 0],
    18002 => ['RadarGraph::SupressTickMarks() is deprecated. Use HideTickMarks() instead.', 0],
    18003 => ['Illegal scale for radarplot (%s). Must be \'lin\' or \'log\'', 1],
    18004 => ['Radar Plot size must be between 0.1 and 1. (Your value=%f)', 1],
    18005 => ['RadarPlot Unsupported Tick density: %d', 1],
    18006 => ['Minimum data %f (Radar plots should only be used when all data points > 0)', 1],
    18007 => ['Number of titles does not match number of points in plot.', 0],
    18008 => ['Each radar plot must have the same number of data points.', 0],

/*
 **  jpgraph_regstat
 */

    19001 => ['Spline: Number of X and Y coordinates must be the same', 0],
    19002 => ['Invalid input data for spline. Two or more consecutive input X-values are equal. Each input X-value must differ since from a mathematical point of view it must be a one-to-one mapping, i.e. each X-value must correspond to exactly one Y-value.', 0],
    19003 => ['Bezier: Number of X and Y coordinates must be the same', 0],

/*
 **  jpgraph_scatter
 */

    20001 => ['Fieldplots must have equal number of X and Y points.', 0],
    20002 => ['Fieldplots must have an angle specified for each X and Y points.', 0],
    20003 => ['Scatterplot must have equal number of X and Y points.', 0],

/*
 **  jpgraph_stock
 */

    21001 => ['Data values for Stock charts must contain an even multiple of %d data points.', 1],

/*
 **  jpgraph_plotmark
 */

    23001 => ['This marker "%s" does not exist in color with index: %d', 2],
    23002 => ['Mark color index too large for marker "%s"', 1],
    23003 => ['A filename must be specified if you set the mark type to MARK_IMG.', 0],

/*
 **  jpgraph_utils
 */

    24001 => ['FuncGenerator : No function specified. ', 0],
    24002 => ['FuncGenerator : Syntax error in function specification ', 0],
    24003 => ['DateScaleUtils: Unknown tick type specified in call to GetTicks()', 0],
    24004 => ['ReadCSV2: Column count mismatch in %s line %d', 2],
/*
 **  jpgraph
 */

    25001 => ['This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)', 0],
    25002 => ['Your PHP installation does not seem to have the required GD library. Please see the PHP documentation on how to install and enable the GD library.', 0],
    25003 => ['General PHP error : At %s:%d : %s', 3],
    25004 => ['General PHP error : %s ', 1],
    25005 => ['Can\'t access PHP_SELF, PHP global variable. You can\'t run PHP from command line if you want to use the \'auto\' naming of cache or image files.', 0],
    25006 => ['Usage of FF_CHINESE (FF_BIG5) font family requires that your PHP setup has the iconv() function. By default this is not compiled into PHP (needs the "--width-iconv" when configured).', 0],
    25007 => ['You are trying to use the locale (%s) which your PHP installation does not support. Hint: Use \'\' to indicate the default locale for this geographic region.', 1],
    25008 => ['Image width/height argument in Graph::Graph() must be numeric', 0],
    25009 => ['You must specify what scale to use with a call to Graph::SetScale()', 0],

    25010 => ['Graph::Add() You tried to add a null plot to the graph.', 0],
    25011 => ['Graph::AddY2() You tried to add a null plot to the graph.', 0],
    25012 => ['Graph::AddYN() You tried to add a null plot to the graph.', 0],
    25013 => ['You can only add standard plots to multiple Y-axis', 0],
    25014 => ['Graph::AddText() You tried to add a null text to the graph.', 0],
    25015 => ['Graph::AddLine() You tried to add a null line to the graph.', 0],
    25016 => ['Graph::AddBand() You tried to add a null band to the graph.', 0],
    25017 => ['You are using GD 2.x and are trying to use a background images on a non truecolor image. To use background images with GD 2.x it is necessary to enable truecolor by setting the USE_TRUECOLOR constant to TRUE. Due to a bug in GD 2.0.1 using any truetype fonts with truecolor images will result in very poor quality fonts.', 0],
    25018 => ['Incorrect file name for Graph::SetBackgroundImage() : "%s" Must have a valid image extension (jpg,gif,png) when using auto detection of image type', 1],
    25019 => ['Unknown file extension (%s) in Graph::SetBackgroundImage() for filename: "%s"', 2],

    25020 => ['Graph::SetScale(): Specified Max value must be larger than the specified Min value.', 0],
    25021 => ['Unknown scale specification for Y-scale. (%s)', 1],
    25022 => ['Unknown scale specification for X-scale. (%s)', 1],
    25023 => ['Unsupported Y2 axis type: "%s" Must be one of (lin,log,int)', 1],
    25024 => ['Unsupported Y axis type:  "%s" Must be one of (lin,log,int)', 1],
    25025 => ['Unsupported Tick density: %d', 1],
    25026 => ['Can\'t draw unspecified Y-scale. You have either: 1. Specified an Y axis for auto scaling but have not supplied any plots. 2. Specified a scale manually but have forgot to specify the tick steps', 0],
    25027 => ['Can\'t open cached CSIM "%s" for reading.', 1],
    25028 => ['Apache/PHP does not have permission to write to the CSIM cache directory (%s). Check permissions.', 1],
    25029 => ['Can\'t write CSIM "%s" for writing. Check free space and permissions.', 1],

    25030 => ['Missing script name in call to StrokeCSIM(). You must specify the name of the actual image script as the first parameter to StrokeCSIM().', 0],
    25031 => ['You must specify what scale to use with a call to Graph::SetScale().', 0],
    25032 => ['No plots for Y-axis nbr:%d', 1],
    25033 => ['', 0],
    25034 => ['Can\'t draw unspecified X-scale. No plots specified.', 0],
    25035 => ['You have enabled clipping. Clipping is only supported for graphs at 0 or 90 degrees rotation. Please adjust you current angle (=%d degrees) or disable clipping.', 1],
    25036 => ['Unknown AxisStyle() : %s', 1],
    25037 => ['The image format of your background image (%s) is not supported in your system configuration. ', 1],
    25038 => ['Background image seems to be of different type (has different file extension) than specified imagetype. Specified: %s File: %s', 2],
    25039 => ['Can\'t read background image: "%s"', 1],

    25040 => ['It is not possible to specify both a background image and a background country flag.', 0],
    25041 => ['In order to use Country flags as backgrounds you must include the "jpgraph_flags.php" file.', 0],
    25042 => ['Unknown background image layout', 0],
    25043 => ['Unknown title background style.', 0],
    25044 => ['Cannot use auto scaling since it is impossible to determine a valid min/max value of the Y-axis (only null values).', 0],
    25045 => ['Font families FF_HANDWRT and FF_BOOK are no longer available due to copyright problem with these fonts. Fonts can no longer be distributed with JpGraph. Please download fonts from http://corefonts.sourceforge.net/', 0],
    25046 => ['Specified TTF font family (id=%d) is unknown or does not exist. Please note that TTF fonts are not distributed with JpGraph for copyright reasons. You can find the MS TTF WEB-fonts (arial, courier etc) for download at http://corefonts.sourceforge.net/', 1],
    25047 => ['Style %s is not available for font family %s', 2],
    25048 => ['Unknown font style specification [%s].', 1],
    25049 => ['Font file "%s" is not readable or does not exist.', 1],

    25050 => ['First argument to Text::Text() must be a string.', 0],
    25051 => ['Invalid direction specified for text.', 0],
    25052 => ['PANIC: Internal error in SuperScript::Stroke(). Unknown vertical alignment for text', 0],
    25053 => ['PANIC: Internal error in SuperScript::Stroke(). Unknown horizontal alignment for text', 0],
    25054 => ['Internal error: Unknown grid axis %s', 1],
    25055 => ['Axis::SetTickDirection() is deprecated. Use Axis::SetTickSide() instead', 0],
    25056 => ['SetTickLabelMargin() is deprecated. Use Axis::SetLabelMargin() instead.', 0],
    25057 => ['SetTextTicks() is deprecated. Use SetTextTickInterval() instead.', 0],
    25058 => ['Text label interval must be specified >= 1.', 0],
    25059 => ['SetLabelPos() is deprecated. Use Axis::SetLabelSide() instead.', 0],

    25060 => ['Unknown alignment specified for X-axis title. (%s)', 1],
    25061 => ['Unknown alignment specified for Y-axis title. (%s)', 1],
    25062 => ['Labels at an angle are not supported on Y-axis', 0],
    25063 => ['Ticks::SetPrecision() is deprecated. Use Ticks::SetLabelFormat() (or Ticks::SetFormatCallback()) instead', 0],
    25064 => ['Minor or major step size is 0. Check that you haven\'t got an accidental SetTextTicks(0) in your code. If this is not the case you might have stumbled upon a bug in JpGraph. Please report this and if possible include the data that caused the problem', 0],
    25065 => ['Tick positions must be specified as an array()', 0],
    25066 => ['When manually specifying tick positions and labels the number of labels must be the same as the number of specified ticks.', 0],
    25067 => ['Your manually specified scale and ticks is not correct. The scale seems to be too small to hold any of the specified tick marks.', 0],
    25068 => ['A plot has an illegal scale. This could for example be that you are trying to use text auto scaling to draw a line plot with only one point or that the plot area is too small. It could also be that no input data value is numeric (perhaps only \'-\' or \'x\')', 0],
    25069 => ['Grace must be larger then 0', 0],
    25070 => ['Either X or Y data arrays contains non-numeric values. Check that the data is really specified as numeric data and not as strings. It is an error to specify data for example as \'-2345.2\' (using quotes).', 0],
    25071 => ['You have specified a min value with SetAutoMin() which is larger than the maximum value used for the scale. This is not possible.', 0],
    25072 => ['You have specified a max value with SetAutoMax() which is smaller than the minimum value used for the scale. This is not possible.', 0],
    25073 => ['Internal error. Integer scale algorithm comparison out of bound (r=%f)', 1],
    25074 => ['Internal error. The scale range is negative (%f) [for %s scale] This problem could potentially be caused by trying to use \"illegal\" values in the input data arrays (like trying to send in strings or only NULL values) which causes the auto scaling to fail.', 2],
    25075 => ['Can\'t automatically determine ticks since min==max.', 0],
    25077 => ['Adjustment factor for color must be > 0', 0],
    25078 => ['Unknown color: %s', 1],
    25079 => ['Unknown color specification: %s, size=%d', 2],

    25080 => ['Alpha parameter for color must be between 0.0 and 1.0', 0],
    25081 => ['Selected graphic format is either not supported or unknown [%s]', 1],
    25082 => ['Illegal sizes specified for width or height when creating an image, (width=%d, height=%d)', 2],
    25083 => ['Illegal image size when copying image. Size for copied to image is 1 pixel or less.', 0],
    25084 => ['Failed to create temporary GD canvas. Possible Out of memory problem.', 0],
    25085 => ['An image can not be created from the supplied string. It is either in a format not supported or the string is representing an corrupt image.', 0],
    25086 => ['You only seem to have GD 1.x installed. To enable Alphablending requires GD 2.x or higher. Please install GD or make sure the constant USE_GD2 is specified correctly to reflect your installation. By default it tries to auto detect what version of GD you have installed. On some very rare occasions it may falsely detect GD2 where only GD1 is installed. You must then set USE_GD2 to false.', 0],
    25087 => ['This PHP build has not been configured with TTF support. You need to recompile your PHP installation with FreeType support.', 0],
    25088 => ['You have a misconfigured GD font support. The call to imagefontwidth() fails.', 0],
    25089 => ['You have a misconfigured GD font support. The call to imagefontheight() fails.', 0],

    25090 => ['Unknown direction specified in call to StrokeBoxedText() [%s]', 1],
    25091 => ['Internal font does not support drawing text at arbitrary angle. Use TTF fonts instead.', 0],
    25092 => ['There is either a configuration problem with TrueType or a problem reading font file "%s" Make sure file exists and is in a readable place for the HTTP process. (If \'basedir\' restriction is enabled in PHP then the font file must be located in the document root.). It might also be a wrongly installed FreeType library. Try upgrading to at least FreeType 2.1.13 and recompile GD with the correct setup so it can find the new FT library.', 1],
    25093 => ['Can not read font file "%s" in call to Image::GetBBoxTTF. Please make sure that you have set a font before calling this method and that the font is installed in the TTF directory.', 1],
    25094 => ['Direction for text most be given as an angle between 0 and 90.', 0],
    25095 => ['Unknown font font family specification. ', 0],
    25096 => ['Can\'t allocate any more colors in palette image. Image has already allocated maximum of %d colors and the palette  is now full. Change to a truecolor image instead', 0],
    25097 => ['Color specified as empty string in PushColor().', 0],
    25098 => ['Negative Color stack index. Unmatched call to PopColor()', 0],
    25099 => ['Parameters for brightness and Contrast out of range [-1,1]', 0],

    25100 => ['Problem with color palette and your GD setup. Please disable anti-aliasing or use GD2 with true-color. If you have GD2 library installed please make sure that you have set the USE_GD2 constant to true and truecolor is enabled.', 0],
    25101 => ['Illegal numeric argument to SetLineStyle(): (%d)', 1],
    25102 => ['Illegal string argument to SetLineStyle(): %s', 1],
    25103 => ['Illegal argument to SetLineStyle %s', 1],
    25104 => ['Unknown line style: %s', 1],
    25105 => ['NULL data specified for a filled polygon. Check that your data is not NULL.', 0],
    25106 => ['Image::FillToBorder : Can not allocate more colors', 0],
    25107 => ['Can\'t write to file "%s". Check that the process running PHP has enough permission.', 1],
    25108 => ['Can\'t stream image. This is most likely due to a faulty PHP/GD setup. Try to recompile PHP and use the built-in GD library that comes with PHP.', 0],
    25109 => ['Your PHP (and GD-lib) installation does not appear to support any known graphic formats. You need to first make sure GD is compiled as a module to PHP. If you also want to use JPEG images you must get the JPEG library. Please see the PHP docs for details.', 0],

    25110 => ['Your PHP installation does not support the chosen graphic format: %s', 1],
    25111 => ['Can\'t delete cached image %s. Permission problem?', 1],
    25112 => ['Cached imagefile (%s) has file date in the future.', 1],
    25113 => ['Can\'t delete cached image "%s". Permission problem?', 1],
    25114 => ['PHP has not enough permissions to write to the cache file "%s". Please make sure that the user running PHP has write permission for this file if you wan to use the cache system with JpGraph.', 1],
    25115 => ['Can\'t set permission for cached image "%s". Permission problem?', 1],
    25116 => ['Cant open file from cache "%s"', 1],
    25117 => ['Can\'t open cached image "%s" for reading.', 1],
    25118 => ['Can\'t create directory "%s". Make sure PHP has write permission to this directory.', 1],
    25119 => ['Can\'t set permissions for "%s". Permission problems?', 1],

    25120 => ['Position for legend must be given as percentage in range 0-1', 0],
    25121 => ['Empty input data array specified for plot. Must have at least one data point.', 0],
    25122 => ['Stroke() must be implemented by concrete subclass to class Plot', 0],
    25123 => ['You can\'t use a text X-scale with specified X-coords. Use a "int" or "lin" scale instead.', 0],
    25124 => ['The input data array must have consecutive values from position 0 and forward. The given y-array starts with empty values (NULL)', 0],
    25125 => ['Illegal direction for static line', 0],
    25126 => ['Can\'t create truecolor image. Check that the GD2 library is properly setup with PHP.', 0],
    25127 => ['The library has been configured for automatic encoding conversion of Japanese fonts. This requires that PHP has the mb_convert_encoding() function. Your PHP installation lacks this function (PHP needs the "--enable-mbstring" when compiled).', 0],
    25128 => ['The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.', 0],
    25129 => ['Anti-alias can not be used with dashed lines. Please disable anti-alias or use solid lines.', 0],
    25130 => ['Too small plot area. (%d x %d). With the given image size and margins there is to little space left for the plot. Increase the plot size or reduce the margins.', 2],

    25131 => ['StrokeBoxedText2() only supports TTF fonts and not built-in bitmap fonts.', 0],
    25132 => ['Undefined property %s.', 1],
    25133 => ['Use Graph::SetTheme() after Graph::SetScale().', 0],

/*
 **  jpgraph_led
 */

    25500 => ['Multibyte strings must be enabled in the PHP installation in order to run the LED module so that the function mb_strlen() is available. See PHP documentation for more information.', 0],

/*
 **---------------------------------------------------------------------------------------------
 ** Pro-version strings
 **---------------------------------------------------------------------------------------------
 */

/*
 **  jpgraph_table
 */

    27001 => ['GTextTable: Invalid argument to Set(). Array argument must be 2 dimensional', 0],
    27002 => ['GTextTable: Invalid argument to Set()', 0],
    27003 => ['GTextTable: Wrong number of arguments to GTextTable::SetColor()', 0],
    27004 => ['GTextTable: Specified cell range to be merged is not valid.', 0],
    27005 => ['GTextTable: Cannot merge already merged cells in the range: (%d,%d) to (%d,%d)', 4],
    27006 => ['GTextTable: Column argument = %d is outside specified table size.', 1],
    27007 => ['GTextTable: Row argument = %d is outside specified table size.', 1],
    27008 => ['GTextTable: Column and row size arrays must match the dimensions of the table', 0],
    27009 => ['GTextTable: Number of table columns or rows are 0. Make sure Init() or Set() is called.', 0],
    27010 => ['GTextTable: No alignment specified in call to SetAlign()', 0],
    27011 => ['GTextTable: Unknown alignment specified in SetAlign(). Horizontal=%s, Vertical=%s', 2],
    27012 => ['GTextTable: Internal error. Invalid alignment specified =%s', 1],
    27013 => ['GTextTable: Argument to FormatNumber() must be a string.', 0],
    27014 => ['GTextTable: Table is not initilaized with either a call to Set() or Init()', 0],
    27015 => ['GTextTable: Cell image constrain type must be TIMG_WIDTH or TIMG_HEIGHT', 0],

/*
 **  jpgraph_windrose
 */

    22001 => ['Total percentage for all windrose legs in a windrose plot can not exceed 100%% !\n(Current max is: %d)', 1],
    22002 => ['Graph is too small to have a scale. Please make the graph larger.', 0],
    22004 => ['Label specification for windrose directions must have 16 values (one for each compass direction).', 0],
    22005 => ['Line style for radial lines must be on of ("solid","dotted","dashed","longdashed") ', 0],
    22006 => ['Illegal windrose type specified.', 0],
    22007 => ['To few values for the range legend.', 0],
    22008 => ['Internal error: Trying to plot free Windrose even though type is not a free windrose', 0],
    22009 => ['You have specified the same direction twice, once with an angle and once with a compass direction (%f degrees)', 0],
    22010 => ['Direction must either be a numeric value or one of the 16 compass directions', 0],
    22011 => ['Windrose index must be numeric or direction label. You have specified index=%d', 1],
    22012 => ['Windrose radial axis specification contains a direction which is not enabled.', 0],
    22013 => ['You have specified the look&feel for the same compass direction twice, once with text and once with index (Index=%d)', 1],
    22014 => ['Index for compass direction must be between 0 and 15.', 0],
    22015 => ['You have specified an undefined Windrose plot type.', 0],
    22016 => ['Windrose leg index must be numeric or direction label.', 0],
    22017 => ['Windrose data contains a direction which is not enabled. Please adjust what labels are displayed.', 0],
    22018 => ['You have specified data for the same compass direction twice, once with text and once with index (Index=%d)', 1],
    22019 => ['Index for direction must be between 0 and 15. You can\'t specify angles for a Regular Windplot, only index and compass directions.', 0],
    22020 => ['Windrose plot is too large to fit the specified Graph size. Please use WindrosePlot::SetSize() to make the plot smaller or increase the size of the Graph in the initial WindroseGraph() call.', 0],
    22021 => ['It is only possible to add Text, IconPlot or WindrosePlot to a Windrose Graph', 0],
/*
 **  jpgraph_odometer
 */

    13001 => ['Unknown needle style (%d).', 1],
    13002 => ['Value for odometer (%f) is outside specified scale [%f,%f]', 3],

/*
 **  jpgraph_barcode
 */

    1001 => ['Unknown encoder specification: %s', 1],
    1002 => ['Data validation failed. Can\'t encode [%s] using encoding "%s"', 2],
    1003 => ['Internal encoding error. Trying to encode %s is not possible in Code 128', 1],
    1004 => ['Internal barcode error. Unknown UPC-E encoding type: %s', 1],
    1005 => ['Internal error. Can\'t encode character tuple (%s, %s) in Code-128 charset C', 2],
    1006 => ['Internal encoding error for CODE 128. Trying to encode control character in CHARSET != A', 0],
    1007 => ['Internal encoding error for CODE 128. Trying to encode DEL in CHARSET != B', 0],
    1008 => ['Internal encoding error for CODE 128. Trying to encode small letters in CHARSET != B', 0],
    1009 => ['Encoding using CODE 93 is not yet supported.', 0],
    1010 => ['Encoding using POSTNET is not yet supported.', 0],
    1011 => ['Non supported barcode backend for type %s', 1],

/*
 ** PDF417
 */
    26000 => ['PDF417: The PDF417 module requires that the PHP installation must support the function bcmod(). This is normally enabled at compile time. See documentation for more information.', 0],
    26001 => ['PDF417: Number of Columns must be >= 1 and <= 30', 0],
    26002 => ['PDF417: Error level must be between 0 and 8', 0],
    26003 => ['PDF417: Invalid format for input data to encode with PDF417', 0],
    26004 => ['PDF417: Can\'t encode given data with error level %d and %d columns since it results in too many symbols or more than 90 rows.', 2],
    26005 => ['PDF417: Can\'t open file "%s" for writing', 1],
    26006 => ['PDF417: Internal error. Data files for PDF417 cluster %d is corrupted.', 1],
    26007 => ['PDF417: Internal error. GetPattern: Illegal Code Value = %d (row=%d)', 2],
    26008 => ['PDF417: Internal error. Mode not found in mode list!! mode=%d', 1],
    26009 => ['PDF417: Encode error: Illegal character. Can\'t encode character with ASCII code=%d', 1],
    26010 => ['PDF417: Internal error: No input data in decode.', 0],
    26011 => ['PDF417: Encoding error. Can\'t use numeric encoding on non-numeric data.', 0],
    26012 => ['PDF417: Internal error. No input data to decode for Binary compressor.', 0],
    26013 => ['PDF417: Internal error. Checksum error. Coefficient tables corrupted.', 0],
    26014 => ['PDF417: Internal error. No data to calculate codewords on.', 0],
    26015 => ['PDF417: Internal error. State transition table entry 0 is NULL. Entry 1 = (%s)', 1],
    26016 => ['PDF417: Internal error: Unrecognized state transition mode in decode.', 0],

/*
 ** jpgraph_contour
 */

    28001 => ['Third argument to Contour must be an array of colors.', 0],
    28002 => ['Number of colors must equal the number of isobar lines specified', 0],
    28003 => ['ContourPlot Internal Error: isobarHCrossing: Coloumn index too large (%d)', 1],
    28004 => ['ContourPlot Internal Error: isobarHCrossing: Row index too large (%d)', 1],
    28005 => ['ContourPlot Internal Error: isobarVCrossing: Row index too large (%d)', 1],
    28006 => ['ContourPlot Internal Error: isobarVCrossing: Col index too large (%d)', 1],
    28007 => ['ContourPlot interpolation factor is too large (>5)', 0],

/*
 * jpgraph_matrix and colormap
 */
    29201 => ['Min range value must be less or equal to max range value for colormaps', 0],
    29202 => ['The distance between min and max value is too small for numerical precision', 0],
    29203 => ['Number of color quantification level must be at least %d', 1],
    29204 => ['Number of colors (%d) is invalid for this colormap. It must be a number that can be written as: %d + k*%d', 3],
    29205 => ['Colormap specification out of range. Must be an integer in range [0,%d]', 1],
    29206 => ['Invalid object added to MatrixGraph', 0],
    29207 => ['Empty input data specified for MatrixPlot', 0],
    29208 => ['Unknown side specifiction for matrix labels "%s"', 1],
    29209 => ['CSIM Target matrix must be the same size as the data matrix (csim=%d x %d, data=%d x %d)', 4],
    29210 => ['CSIM Target for matrix labels does not match the number of labels (csim=%d, labels=%d)', 2],

/*
 * jpgraph_theme
 */
    30001 => ["Theme::%s() is not defined. \nPlease make %s(\$graph) function in your theme classs.", 2],
];
