NVCL Data Services : Plot Scalar Service

Error: Logid is not valid.

plotscalar service uses JFeeChart Java chart library to draw a plot of the product and return the plot as an image in PNG format. It requires a logid as the mandatory URL parameter. The logid can be obtained through the getLogCollection service with mosaicsvc URL parameter set to 'no'.

Usage: plotscalar.html?parameter1=value&parameter2=value&....

ParameterDescriptionRequiredExample values
logidobtained through calling the getLogCollection service with mosaicsvc URL parameter set to 'no'yes77d0b966-d936-4b9d-bc5c-4b2b12bf1c5
startdepththe start depth of a borehole collarno, Default value=00
enddepththe end depth of a borehole collarno, Default value=9999919
samplingintervalthe interval of the samplingno, Default value=11
widththe width of the image in pixelno, Default value=300300
heightthe height of the image in pixelno, Default value=600600
graphtypean integer range from 1 to 3, 1=Stacked Bar Chart, 2=Scattered Chart, 3=Line Chartno, Default value=11
legendvalue=yes or no, if yes - indicate to show the legend, default to yesno, Default value=11

Example Queries:

A standard query for Stacked Bar Chart : plotscalar.html?logid=77d0b966-d936-4b9d-bc5c-4b2b12bf1c5&graphtype=1

A standard query for Stacked Bar Chart without legend : plotscalar.html?logid=77d0b966-d936-4b9d-bc5c-4b2b12bf1c5&graphtype=1&legend=0

A standard query for Scattered Chart: plotscalar.html?logid=77d0b966-d936-4b9d-bc5c-4b2b12bf1c5&graphtype=2

A standard query for Line Chart: plotscalar.html?logid=77d0b966-d936-4b9d-bc5c-4b2b12bf1c5&graphtype=3