Draw the Smith Chart in SVG with Vue.js Component

Draw a Smith Chart in SVG with Vue.js is a graphical utility or introductory diagram designed for electrical and electronics engineers specializing in radio frequency (RF) engineering to help solve problems with transmission lines and matching circuits.

javascript ui components, js controls, essential js libraries for ui, smith chart examples

Simple Jquery Line/Area/Scattered Chart Plugin

How to make use of it:

1. Import and register the component.

new Vue({
    components: {
      smithChart
    }
})

2. Add the Smith Chart component to the template.

<smith-chart></smith-chart>

3. Draw points and arcs on Smith’s diagram.

<smith-chart>
  <sm-point :res="0" :react="0" fill="red"></sm-point>
  <sm-point :res="1" :react="0" fill="blue"></sm-point>
  <sm-point :res="2" :react="0" fill="green"></sm-point>
  <sm-point :res="3" :react="1" fill="purple"></sm-point>
  <sm-point :res="0.6" :react="0.6" fill="rgba(123,345,2,0.5)" r="10"></sm-point>
</smith-chart>
<smith-chart>
  <sm-res-circle
    :res="2"
    fill="rgba(0,0,255,0.5)"
  ></sm-res-circle>
  <sm-res-circle
    :res="0.5"
    :crop="1"
    fill="rgba(255,0,255,0.5)"
    stroke-width="2"
    stroke="black"
  ></sm-res-circle>
  <sm-res-circle
    :res="0.2"
    :crop="0.4"
    fill="none"
    stroke-width="5"
    stroke="#FF4136"
  ></sm-res-circle>
</smith-chart>

4. All options are default.

radius: {
  type: Number,
  default: 400
},
resistanceLabels: {
  type: Boolean,
  default: true
},
reactanceLabels: {
  type: Boolean,
  default: true
},
labelRings: {
  type: Boolean,
  default: true
},
translateX: {
  type: Number,
  default: 100
},
rotate: {
  type: Number,
  default: 0
},

Smith Chart Component With SVG, Smith Chart with Vue.js Plugin/Github


See Demo And Download

Official Website(germi): Click Here

This superior jQuery/javascript plugin is developed by germi. For extra advanced usage, please go to the official website.

Related Posts

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Bootstrap-4-Toast-Notification-Plugin

Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Audio-Visualizations-Wave

How to Create Audio Visualizations with JavaScript | Wave.js

Audio Visualizer Library – wave.js is a vanilla javascript audio visualization library that provides 20+ creative audio visualization effects to bring more engagement to your visitor. Contribute…

swiper-touch-slider

Modern Mobile Touch Slider With Acceleration Transitions | Swiper

Swiper is the most modern free mobile touch slider with accelerated device transitions and amazing original behavior. It is intended for use in mobile websites, mobile web…

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

Leave a Reply

Your email address will not be published. Required fields are marked *