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¶meter2=value&....
Parameter | Description | Required | Example values |
---|---|---|---|
logid | obtained through calling the getLogCollection service with mosaicsvc URL parameter set to 'no' | yes | 77d0b966-d936-4b9d-bc5c-4b2b12bf1c5 |
startdepth | the start depth of a borehole collar | no, Default value=0 | 0 |
enddepth | the end depth of a borehole collar | no, Default value=99999 | 19 |
samplinginterval | the interval of the sampling | no, Default value=1 | 1 |
width | the width of the image in pixel | no, Default value=300 | 300 |
height | the height of the image in pixel | no, Default value=600 | 600 |
graphtype | an integer range from 1 to 3, 1=Stacked Bar Chart, 2=Scattered Chart, 3=Line Chart | no, Default value=1 | 1 |
legend | value=yes or no, if yes - indicate to show the legend, default to yes | no, Default value=1 | 1 |
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