× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Andrew,

Sorry to be so late to the party. I implemented a similar solution to
generate a graphic panel cutting map. I used a table rather than an
image because I found that it rendered more quickly. Here is a
sample of what is generated from the custom tag that renders the
"graphic":

<div class="sawlayout">
<table border="1" cellspacing="0" cellpadding="0" width="221.0"
height="62.0">
<tbody>
<tr>
<td width="54.75%" height="79.03%" bgcolor="cccccc">(1)49.0x121.0</td>
<td colspan="2" width="33.03%" height="79.03%"
bgcolor="cccccc">(2)49.0x73.0</td>
<td rowspan="3" width="12.22%" height="100.0%" bgcolor="ffffff"></td>
</tr>
<tr>
<td colspan="2" width="87.33%" height="19.46%"
bgcolor="cccccc">(3)12.0625x193.0</td>
<td width="0.45%" height="19.46%" bgcolor="ff0000">&nbsp</td>
</tr>
<tr>
<td colspan="3" width="87.78%" height="1.51%" bgcolor="ffffff"></td>
</tr>
</tbody>
</table>
</div>

In this case this is a panel that starts as 221 x 62 inches and is cut
into three products
with some waste that is shown in read. The white part is the
underutilization of the
machine.

David Morris

>>> Andrewb@SETACORPORATION.com 01/18/02 11:14AM >>>
WHY!
        Here's what you can do...
1) Why not use the line HTML code to produce a line that is xxx in
pixel size?
2) Why not take a 1x1 pixel graphic and expand it's size accordingly.
Solid colors work (look @ www.cnn.com and see how they produce their
daily graphs of the surveys they produce.  One color is red, the other
is orange.
3) After that, I'm kinda tapped out.

As long as you're not graphing a dynamic map, this is a great method.
Use the following mock up of the image when you're done.

<img src="/myimage/blue.gif" width="$(percent)" height="10">

or something like it.  Do dis suffice?

Andrew Borts / Webmaster



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.