We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit - I have found the problem to be that ngx-barcode doesn't implement the flat: true option property
flat: true
Please implement this because at the moment I have to include JsBarcode from an external JS file only so I can use flat: true
Ideally I want to see a flat barcode, like JsBarcode generates for UPC-A
JsBarcode:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/JsBarcode.all.min.js"></script> <svg id="barcode1" class="barcode1" jsbarcode-height="100px" jsbarcode-flat="true" data-flat="true" jsbarcode-format="UPC" ></svg> <script type="text/javascript">JsBarcode(".barcode1", "123456789012").init();</script>
You will see that this generates a UPC barcode without any hanging bars - https://ibb.co/C7LZ35w
This is what is generated using ngx-barcode - https://ibb.co/C7LZ35w using this code:
<ngx-barcode [bc-value]="'123456789012'" [bc-width]="this.barcodeWidth" [bc-height]="this.barcodeHeight" [bc-display-value]="false" [bc-format]="'UPC'" > </ngx-barcode>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Edit - I have found the problem to be that ngx-barcode doesn't implement the
flat: true
option propertyPlease implement this because at the moment I have to include JsBarcode from an external JS file only so I can use
flat: true
Ideally I want to see a flat barcode, like JsBarcode generates for UPC-A
JsBarcode:
You will see that this generates a UPC barcode without any hanging bars - https://ibb.co/C7LZ35w
This is what is generated using ngx-barcode - https://ibb.co/C7LZ35w using this code:
The text was updated successfully, but these errors were encountered: