Bitcoin hardware

asic miner

Bitcoin Chart Outer Module

Description

If you think that it would be a good thing to reflect the dynamic of a price switch for your webstek visitors, then our module is exactly what you&prime,re looking for. Effortless settings, informative and handy &ndash, it will catch the rente of your users and make your resource more attractive.

The module looks like this te a standard settings:

Module is made up of Three blocks: the buttons of interval choice, areas for convenient interval display and, basically, the graphic. The graphic block is built ter any way, but it depends only on you what you would vertoning with the extra parts. It&prime,s all defined through the settings.

Module doesn&prime,t make the undue traffic for the pagina, being regularly updated. The update launches only when it&prime,s necessary and you will see a fresh gegevens on a graphic right off.

The graphic is made up with the help of the Google Charts contraptions.

The BTCChart’s Versions

  • v0.1 – Ten.09.2014 – Very first Release.
  • v0.Two – 03.06.2015 – Multi-Exchange-Trading Added.

Quick Connection

Ter order to butt-plug te the module ter a standard form (example is above), it will be sufficient to add a script, such spil below, into your code. The plugin will be integrated where you will call the following function &ndash, MiningProfitBTCChart.draw().

Plugin Settings

All the features are optional. Ter case of module embedding without any custom-built settings (Quick Connection), the btcChart will emerge te its official theme Mining-Profit.com.

All settings should be customized before you run btcChart rendering function (MiningProfitBTCChart.draw()).

All the options defined after this function can harm the module functioning.

MiningProfitBTCChart.isDisplayControlRanges(boolean Flag),

With the help of this function you can determine whether you should make up the block of interval switching.

MiningProfitBTCChart.isDisplayControlInterval(boolean Flag),

With the help of this function you can determine whether you should make up the block of interval reflection (by date).

Pay attention that the present block reflects the timestamps for the puny time intervals too.

Ter the next iterations of module development, the users are provided with the possibility of interval choice due to this block (spil the in-built calendar).

MiningProfitBTCChart.setMajorColor(string MajorColor),

The btcChart color setting. The main color for all the module blocks.

Please, pay attention that you can set the color te several formats (select the most convenient for you): hexadecimal color, RGB format or color name (color list is shown below).

If the option is set with mistake, the module will be reflected ter a standard color. That&prime,s why, if you don&prime,t see that expected result after the color set then please, check this option one more time.

  1. MiningProfitBTCChart. setMajorColor (, ‘#428bca’ ), , //right
  2. MiningProfitBTCChart. setMajorColor (, ‘#428bcaa1’ ), , //incorrect
  3. //or
  4. MiningProfitBTCChart. setMajorColor (, ‘rgb(170, 96, 54)’ ), , //right
  5. //or
  6. MiningProfitBTCChart. setMajorColor (, ‘teal’ ), , //right

The list of the possible color names: ‘blue’, ‘gray’, ‘black’, ‘silver’, ‘crimson’, ‘maroon’, ‘yellow’, ‘olive’, ‘lime’, ‘green’, ‘aqua’, ‘teal’, ‘navy’, ‘fuchsia’, ‘purple’.

MiningProfitBTCChart.setChartWidth(int WidthChart),

The module width is at pixel.

Please, pay attention that the width cannot be set with less than 300 pixels.

  1. MiningProfitBTCChart. setChartWidth (, 566 ), ,
  2. //or
  3. MiningProfitBTCChart. setChartWidth (, 1000 ), ,

MiningProfitBTCChart.setChartHeight(int HeightChart),

The module height at pixel.

Please, consider the following:

  • The height cannot be set with less than 200 pixels.
  • The specified height is the general height of module and not only of the graphic. If you don&prime,t turn off the blocks of the graphic operation, then the part of the specified height will be introduced to them. Besides, the location of the operational blocks can be switched with the little width and they will “take away” more height.
  1. MiningProfitBTCChart. setChartWidth (, 450 ), ,
  2. //or
  3. MiningProfitBTCChart. setChartWidth (, 600 ), ,

MiningProfitBTCChart.setChartRanges(Array ListStringsRanges),

The array of intervals that will be shown te the block of interval switching. The interval is indicated with the line.

The line of the interval name is made up with the following rule:

range = range_digit + range_name, where

range_digit: is any entire number

range_name: ‘h’ – hour, ‘d’-day, ‘w’ – week, ‘m’ – month, ‘y’ – year, ‘All’ – the entire time interval (since the boitcoin’s creation).

The range examples: 12h, 3d, 2w, 1m, 2m, 5m, 1y.

Please, consider the following:

  • If the option MiningProfitBTCChart.isDisplayControlInterval(boolean Flag) is installed te false, then the present setting won&prime,t be relevant and won&prime,t be applied.
  • The intervals will be reflected ter the order you selected.
  • Incorrect and repeating intervals will be deleted.

MiningProfitBTCChart.setInitialRange(string InitialRange),

The kicking off range where graphic will be built while loading.

The interval name is made up following the rules above (there will be a verbinding above).

Please, consider the following:

  • If the beginning range is not introduced te the module intervals list (a standard one or set through the option MiningProfitBTCChart.setChartRanges()), then instead of it wij take the very first factor from this list.
  • The option of kicking off range is always actual, even despite the operational module blocks are reflected or not. Ter a case, when the beginning range is indicated correctly and the block of the interval switching is turned off, then the previous rule of the “presence te an interval list” is declined.
  1. MiningProfitBTCChart. setInitialRange (, ‘6h’ ), ,
  2. //or
  3. MiningProfitBTCChart. setInitialRange (, ‘2d’ ), ,

MiningProfitBTCChart.setChartExchanges(Array ListExchanges),

An array of the exchanges that will be available to the user. The name of the exchange will be indicated by the line (or the object, see below).

The list of available exchanges:

  • mpvaluation (#66b8ff, Mining-Profit)
  • bitstamp (#428bca, Bitstamp)
  • coinbase (#404d94, Coinbase)
  • btce (#989595, BTC-E)
  • bitfinex (#e15656, Bitfinex)
  • okcoin (#424c5c, OKCoin)
  • anxpro (#c01e28, ANX)

By default each exchange has its colour (the accordance can be seen ter the list above). Each colour characterizes brand style of the exchange (except В«bitstampВ» – its colour caused by compatibility of the previous version of the module).

You can switch the colour of the exchange. For this you have to pass the object to the function that looks like: <‘nameExchange’: ‘yourCustomColor’>. The rules of colour indication described here.

“mpvaluation” &ndash, the average meaning from all the exchanges, that are calculated te Mining-Profit.com.

The excanges will be displayed on the В«Exchange switch panelВ», ter order that you point ter the array.

Reminisce that В«Exchange switch panelВ» will be displayed only when the number of exchanges are more than one. If the current exchange is displayed, it will hold height of fourty pixels.This space is lent from the graph itself.

  1. MiningProfitBTCChart. setChartExchanges (, [, ‘mpvaluation’ , ‘bitstamp’ , ‘coinbase’ ], ), ,
  2. //or
  3. MiningProfitBTCChart. setChartExchanges (, [, {, ‘mpvaluation’ : ‘#428bca’ }, , ‘bitstamp’ , {, ‘btce’ : ‘#F0522B’ }, , ‘bitfinex’ ], ), ,

MiningProfitBTCChart.setInitialExchange(String CustomExchange),

Installing the kicking off exchange, which displays the module.

If the function will not be induced (or induced with the wrong parameter), than the very first exchange te the list will be the embarking, which wasgoed passed with the help of setChartExchanges( ) function.

Related movie: NO INVESTMENT || Bitcoin Automated Mining || $0.50 every minute || Effortless SETUP



Leave a Reply

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

https://bachelorthesiswritingservice.com