Vedmack

How to achieve the following in HBullet

Recommended Posts

Hi,

 

I need my HBullet to look like this: HBullet_how_to.png, and I was wondering on how can I achive it?

 

I want my chart to have rounded corners and I want a gray backgroung of the horizonatl (100%) bar , last thing is that I want to control the color and the size of the value

 

my current chart data is as follows

chartData = {
            "chart": {
                "showValue": "1",
                "bgAlpha": "0",
                "showBorder": "0",
                "lowerlimit": "0",
                "upperlimit": "100",
                "numbersuffix": "%",
                "animation": "1",
                "plotfillcolor": fillColor,
                "canvasRightMargin": "40",

                "showTickMarks": '0',
                "showTickValues": '0'
            },
            "colorrange": {
                "color": [
                    {
                        "minvalue": "0",
                        "maxvalue": "100",
                        "alpha": "0"
                    }
                ]
            },
            "annotations": {
                "groups": [
                    {
                        "id": "Grp2",
                        "showbelow": "1",
                        "items": [
                            {
                                "type": "rectangle",
                                "x": "$gaugeStartX",
                                "y": "$gaugeStartY",
                                "tox": "$gaugeEndX",
                                "toy": "$gaugeEndY",
                                "alpha": "0",
                                "showBorder": "1",
                                "borderAlpha": "100",
                                "borderColor": fillColor
                            }
                        ]
                    }
                ]
            },
            "value": scope.value
        };

Thanks ahead

 

Tthis is how my chart currently looks like: HBullet_current.png

 

And this is how I want it to look  HBullet_how_to.png

post-28512-0-76558600-1444828744_thumb.png

Edited by Vedmack

Share this post


Link to post
Share on other sites

Thanks!

 

Almost there, now it looks like this: HBullet_current2.png, I modified the code to be almost like yours - I could not make it exactly the same becausse I complains that It can't find the id (dunno why because it does find it with the way I call the API)

 

see updated code:

chartData = {
            "chart": {
                "showValue": "1",
                "bgAlpha": "0",
                "showBorder": "0",
                "lowerlimit": "0",
                "upperlimit": "100",
                "numbersuffix": "%",
                "baseFontSize": "13",
                "canvasPadding": "0",
                //Will change the color of Plor
                "plotFillColor": fillColor,
                //Will change the color of Base Font - Value(67%)
                "baseFontColor": fillColor,
                "canvasRightMargin": "40",
                "showTickMarks": '0',
                "showTickValues": '0'
            },
            "annotations": {
                "groups": [
                    {
                        "id": "Grp2",
                        "items": [
                            {
                                "type": "rectangle",
                                "x": "$gaugeStartX",
                                //to align with value of Plot.
                                "y": "$gaugeStartY + 9",
                                "tox": "$gaugeEndX",
                                //to align with value of Plot.
                                "toy": "$gaugeEndY - 9",
                                "radius": "3",
                                "alpha": "50",
                                //set background color to gray
                                "fillColor": "#dce0e5"
                            }
                        ]
                    }
                ]
            },
            "value": scope.value
        };

        chartReference = new FusionCharts("HBullet", genChartId, placeHolderWidth, placeHolderHeight, "0", "0");
        chartReference.setJSONData(chartData);
        chartReference.setTransparent(true);
        chartReference.render(scope.chartWrapperId);

How can I make it make the gray background to have the same height as the colored bar itself?

 

Thanks again

Share this post


Link to post
Share on other sites

Hi

 

I have updted to the  @version 3.9.0 and it looks a bit better now , but still it differs from your fiddle , now it look like this: HBullet_current3_9.png, as you see the background gray line is too thin (unlike your fiddle)

 

How can I make it to be the same thikness as the colored line?

Share this post


Link to post
Share on other sites

49738 Edited by Pat Garofalo. Throughout the colonial period Marylands economy was based on one cropв tobacco.

 

GO to PHARMACY >>>>> http://quality.popular-pills.net/

 

1971 - http://grandiflora.net/node/64361

Forms of corruption vary, but include corruption, extortion, cronyism, nepotism, patronage, graft, and embezzlement - 72339 - http://grandiflora.net/node/62902

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

6 percent according to the Labor Department. Where Can I Purchase Glucovance (Metformin/Glyburide) online overnight delivery

Purchase Online Combivent (Ipratropium bromide / Albuterol sulfate) without a perscription shipped overnight

... http://grandiflora.net/node/64446 , 27480 >> http://grandiflora.net/node/63988 ,

Where To Buy Legitimate Combivent (Ipratropium bromide / Albuterol sulfate) without a perscription shipped overnight ,Orders Combivent (Ipratropium bromide / Albuterol sulfate) medication without rx ,

Buy Discount Generic Cialis Professional (Tadalafil) from canadian pharmacy no prescription

Best Price For Generic Combivent (Ipratropium bromide / Albuterol sulfate) without credit card or check

 

18706 - http://grandiflora.net/node/65558 ,17007, 18063 - http://grandiflora.net/node/65607 ,10837, 65697 - http://grandiflora.net/node/65137 ,86774, 11413 - http://grandiflora.net/node/61681 ,60129, 32461 - http://grandiflora.net/node/62724 ,81114, 58179 - http://grandiflora.net/node/64578

Share this post


Link to post
Share on other sites

19031 Economy Statistics By State StateMaster US Statistics. Download photos or share to Facebook Twitter Tumblr Blogger.

 

GO to PHARMACY >>>>> http://thebest.popular-pills.net/

 

23537 - http://grandiflora.net/node/61536

The New Economy Intelligence speaks for itself. - 49755 - http://grandiflora.net/node/63669

 

GO to PHARMACY >>>>> http://worldwide.popular-pills.net/

 

An economy or economic system consists of the production distribution or trade and consumption of limited goods and services by different agents in a. Online Pharmacy Aciphex (Rabeprazole) no prior script overnight USA

Where To Get Kamagra Pack (15 pills) with no prescription

> http://grandiflora.net/node/65658 , 89185 >> http://grandiflora.net/node/65588 ,

Buy Safety Cheapest Kamagra Pack (15 pills) without dr prescription ,Purchase Cheap Online Kamagra Pack (15 pills) cod cash delivery ,

Buy At Low Price Flomax (Tamsulosin) online without a prescription and no membership

Best Prices For Kamagra Pack (15 pills) no prior prescription

 

19382 - http://grandiflora.net/node/62304 ,69562, 58420 - http://grandiflora.net/node/61681 ,75321, 87256 - http://grandiflora.net/node/65588 ,9500, 71993 - http://grandiflora.net/node/63764 ,22838, 43714 - http://grandiflora.net/node/65349 ,74865, 5970 - http://grandiflora.net/node/63524

Share this post


Link to post
Share on other sites

31707 Throughout the colonial period Marylands economy was based on one cropв tobacco. President Obama inherited an economy in free fall with huge deficits skyrocketing health care costs dwindling employment and banking and housing markets on the.

 

GO to PHARMACY >>>>> http://norx.popular-pills.net

 

24740 - http://grandiflora.net/node/61064

Why Is Employment Picking Up? - 57866 - http://grandiflora.net/node/65607

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

The Manifesto suggested a course of action for a proletarian revolution to overthrow the bourgeois society and abolish private property, in the belief that this would lead to a classless and stateless society Buy Cheapest Acai berry money order

Discount Drugs Zestril (Lisinopril) overnight delivery no rx

>>> http://grandiflora.net/node/62734 , 99833 ... http://grandiflora.net/node/61600 ,

Mail Order Zestril (Lisinopril) online USA ,Order Easy Zestril (Lisinopril) online drugstore no prescription ,

Do You Know How I Can Buy Theo-24 Sr (Theophylline) cod no script

How Can I Get Zestril (Lisinopril) for over night delivery

 

19841 - http://grandiflora.net/node/61105 ,9474, 38453 - http://grandiflora.net/node/61008 ,51477, 27222 - http://grandiflora.net/node/65457 ,52369, 34532 - http://grandiflora.net/node/62304 ,37362, 65377 - http://grandiflora.net/node/61416 ,28266, 98837 - http://grandiflora.net/node/62871

Share this post


Link to post
Share on other sites

96050 economy at a glance font size: print: share on: browse eag; u. The origin of the State, or Political Society, is to be found in the development of the art of military warfare

 

GO to PHARMACY >>>>> http://norx.popular-pills.net

 

53880 - http://grandiflora.net/node/65860

Finally there is the enactment of laws or legislation - 45782 - http://grandiflora.net/node/62418

 

GO to PHARMACY >>>>> http://unitedstates.popular-pills.net/

 

The history of politics is reflected in the origin, development, and economics of the institutions of government How To Order Zagam (Sparfloxacin) cheap cod no rx

Cheapest Tegopen (Cloxacillin) from australian pharmacy no prescription

> http://grandiflora.net/node/62281 , 43643 > http://grandiflora.net/node/62668 ,

Where Can I Buy Generic Tegopen (Cloxacillin) prescription from doctors online ,Order Online Generic Tegopen (Cloxacillin) without doctor prescription ,

Safe Order Actos (Pioglitazone) online without a prescription and no membership

Best Price Tegopen (Cloxacillin) overnight cod no prescription

 

87245 - http://grandiflora.net/node/63689 ,83825, 11712 - http://grandiflora.net/node/65793 ,98883, 51682 - http://grandiflora.net/node/65966 ,91636, 35339 - http://grandiflora.net/node/63737 ,99302, 84566 - http://grandiflora.net/node/64656 ,36232, 25932 - http://grandiflora.net/node/61148

Share this post


Link to post
Share on other sites

48790 Contact Economy CNBC NEWSLETTERS. More narrowly, it refers to achieving and exercising positions of governance - organized control over a human community, particularly a state

 

GO to PHARMACY >>>>> http://norx.popular-pills.net

 

5913 - http://grandiflora.net/node/62579

economy definition of economy by The Free Dictionary. - 12701 - http://grandiflora.net/node/62012

 

GO to PHARMACY >>>>> http://thebest.popular-pills.net/

 

Nevertheless, the monarchy is among the longest-lasting political institutions, dating as early as 2100 BC in Sumeria Cheap Generic Compazine (Prochlorperazine) online cod USA

Cheap Esidrix (Hydrochlorothiazide) no perscription overnight USA

-- http://grandiflora.net/node/62829 , 2239 - http://grandiflora.net/node/61256 ,

Discount Price Esidrix (Hydrochlorothiazide) without a prescription ,Where To Purchase Esidrix (Hydrochlorothiazide) no prescription united states ,

Cheapest Minomycin (Minocycline) cod cash delivery

Order Online Esidrix (Hydrochlorothiazide) on line purchase

 

26735 - http://grandiflora.net/node/63227 ,76655, 76808 - http://grandiflora.net/node/62285 ,22939, 39472 - http://grandiflora.net/node/63577 ,74239, 97299 - http://grandiflora.net/node/64941 ,42194, 80258 - http://grandiflora.net/node/64101 ,44132, 9097 - http://grandiflora.net/node/64949

Share this post


Link to post
Share on other sites

42611 It is also ranked 13th. Data and research on e-commerce including measuring the information economy internet economy outlook open internet openness key ICT indicators digital economy.

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

8697 - http://grandiflora.net/node/63113

But this isnt just a battle over industry influence - 88683 - http://grandiflora.net/node/65860

 

GO to PHARMACY >>>>> http://worldwide.popular-pills.net/

 

Sometimes it happens that the exercise of a right is opposed to public trust Mail Order Discounts On Minipress (Prazosin) overnight delivery no r x

Secure Ordering Intagra (Sildenafil Citrate) next day delivery

> http://grandiflora.net/node/65939 , 4647 -- http://grandiflora.net/node/63586 ,

Safe Order Generic Intagra (Sildenafil Citrate) available united states ,Cheap Price Intagra (Sildenafil Citrate) without dr prescription USA ,

Order Online Cheap Maxalt (Rizatriptan) next day no prescription needed

Lowest Prices For Intagra (Sildenafil Citrate) delivered overnight

 

88588 - http://grandiflora.net/node/61887 ,91921, 55091 - http://grandiflora.net/node/63417 ,68939, 29594 - http://grandiflora.net/node/62417 ,22945, 93005 - http://grandiflora.net/node/64080 ,8983, 41658 - http://grandiflora.net/node/64934 ,67688, 56569 - http://grandiflora.net/node/65619

Share this post


Link to post
Share on other sites

45559 com Infoplease Encyclopedia Almanac. California Labor Force Data in Thousands Seasonally Adjusted: November 14 Prelim October 14 Revised.

 

GO to PHARMACY >>>>> http://quality.popular-pills.net/

 

52332 - http://grandiflora.net/node/62747

The notion that parliaments were the result of a democratic movement cannot be supported by historical facts - 39199 - http://grandiflora.net/node/62407

 

GO to PHARMACY >>>>> http://unitedstates.popular-pills.net/

 

s economy census regions. Buy Cheap Viagra (Sildenafil Citrate) cod cash delivery USA

Best Price For Generic Celexa (Citalopram) suppliers cheap

> http://grandiflora.net/node/64338 , 33566 >> http://grandiflora.net/node/64912 ,

Best Price For Celexa (Citalopram) with no perscription ,Mail Order Celexa (Citalopram) online with visa ,

Best Prices For VPXL prescriptions online

Discount Celexa (Citalopram) online

 

37998 - http://grandiflora.net/node/64768 ,76990, 56200 - http://grandiflora.net/node/60931 ,37065, 15405 - http://grandiflora.net/node/61488 ,51787, 72112 - http://grandiflora.net/node/64338 ,73680, 58926 - http://grandiflora.net/node/62900 ,22489, 44017 - http://grandiflora.net/node/62257

Share this post


Link to post
Share on other sites

77071 Towards the latter part of the Middle Ages in Europe, both the State - the State would use the instrument of confiscation for the first time to satisfy a debt - and the Church - the Church succeeded in acquiring immense quantities of land - were allied against the village community to displace the small landlord and they were successful to the extent that today, the village has become the ideal of the individualist, a place in which every man does what he wills with his own Read more Economy News and Financial Announcements online at.

 

GO to PHARMACY >>>>> http://thebest.popular-pills.net/

 

59969 - http://grandiflora.net/node/63805

Generally speaking, no form of government could be considered the absolute best, as it would have to be the perfect form under all circumstances, for all people and in all ways - 22525 - http://grandiflora.net/node/62606

 

GO to PHARMACY >>>>> http://thebest.popular-pills.net/

 

The trial by jury was adopted by the Royal Courts, securing its popularity and making it a bulwark of liberty Buy Easy Capoten (Captopril) no rx

Buy Online Cheap Panadol (Paracetamol) no prescriptions needed

- http://grandiflora.net/node/63577 , 26924 -- http://grandiflora.net/node/63562 ,

Licensed Pharmacy Panadol (Paracetamol) no script required express delivery ,Where To Order Panadol (Paracetamol) next day delivery USA ,

Generic Extra Super Avana (Avanafil and Dapoxetine) non prescription

Best Prices For Panadol (Paracetamol) saturday USA

 

51432 - http://grandiflora.net/node/62050 ,85472, 82568 - http://grandiflora.net/node/65576 ,34114, 54732 - http://grandiflora.net/node/64697 ,41646, 89828 - http://grandiflora.net/node/62872 ,81164, 5933 - http://grandiflora.net/node/65939 ,80337, 13133 - http://grandiflora.net/node/63997

Share this post


Link to post
Share on other sites

90439 Watch the video Better economy serves restaurants on Yahoo Canada. NEPAL IS ONE OF THE POOREST COUNTRIES in the world and was listed as the eleventh poorest among 121 countries in 1989.

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

99801 - http://grandiflora.net/node/63417

Daily before the bell news roundup в Sample. - 24450 - http://grandiflora.net/node/63997

 

GO to PHARMACY >>>>> http://unitedstates.popular-pills.net/

 

Global economy guide world economy principles information about countries country comparison. Where Can I Purchase Dulcolax (Bisacodyl) online legally

Purchase Generic Super Kamagra (Sildenafil with Dapoxetine) overnight delivery USA

>> http://grandiflora.net/node/63974 , 99083 >>> http://grandiflora.net/node/65988 ,

Order Super Kamagra (Sildenafil with Dapoxetine) shipped with no prescription USA ,Order Online Generic Super Kamagra (Sildenafil with Dapoxetine) overnight cheap cod ,

Where To Order Parlodel (Bromocriptine) drug without prescription

Lowest Prices For Super Kamagra (Sildenafil with Dapoxetine) shipped with no prescription

 

59175 - http://grandiflora.net/node/63113 ,64695, 8735 - http://grandiflora.net/node/63658 ,79641, 37612 - http://grandiflora.net/node/64627 ,54979, 90802 - http://grandiflora.net/node/65117 ,83601, 19789 - http://grandiflora.net/node/64656 ,77441, 98880 - http://grandiflora.net/node/63389

Share this post


Link to post
Share on other sites

78928 You are browsing zazzles Economy t-shirts section where you can find many styles sizes and colors of Economy shirts available for customization or ready to buy as is. If it is wrongly assumed that the value of land is always the same, then there is of course no evolution of property whatever

 

GO to PHARMACY >>>>> http://unitedstates.popular-pills.net/

 

95073 - http://grandiflora.net/node/65874

Economy Definition and More from the Free Merriam-Webster. - 53867 - http://grandiflora.net/node/62038

 

GO to PHARMACY >>>>> http://unitedstates.popular-pills.net/

 

Choose your best offer from more than 175,000 cars in 8,250 locations around the world! Online Pharmacy Evecare without rx

Us Pharmacy ED Medium Pack fedex cod

- http://grandiflora.net/node/63724 , 35972 ... http://grandiflora.net/node/64101 ,

Buy Online Generic ED Medium Pack without dr prescription USA ,Purchase ED Medium Pack nextday shipping USA ,

Where Can I Buy Generic Skelaxin (Metaxalone) quick delivery no prescription USA

How Can I Get ED Medium Pack overnight USA

 

81835 - http://grandiflora.net/node/63997 ,5643, 44015 - http://grandiflora.net/node/64014 ,39910, 67477 - http://grandiflora.net/node/62603 ,8408, 80242 - http://grandiflora.net/node/64997 ,81246, 25486 - http://grandiflora.net/node/63840 ,37775, 57068 - http://grandiflora.net/node/61488

Share this post


Link to post
Share on other sites

22847 Economy Definition and More from the Free Merriam-Webster. These two forms helped to shape the practice of federal government, first in Switzerland, then in the United States in 1776, in Canada in 1867 and in Germany in 1870 and in the 20th century, Australia

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

98434 - http://grandiflora.net/node/63689

Economy and Politics Economic News MarketWatch. - 91764 - http://grandiflora.net/node/63974

 

GO to PHARMACY >>>>> http://unitedstates.popular-pills.net/

 

The Detroit of wealthy enclaves and private guards looks nothing like the other Detroit which is becoming more uninhabitable every day. Purchase Online Vitamin B12 (Methylcobalamin) tablets without script

Buy Cheap Online Augmentin (Amoxicillin / Clavulanate) online without a prescription and no membership

-- http://grandiflora.net/node/65933 , 59710 ... http://grandiflora.net/node/64762 ,

Fda Approved Augmentin (Amoxicillin / Clavulanate) united states ,Cheap Generic Augmentin (Amoxicillin / Clavulanate) united states ,

Buy Cheap Generic Neem in USA no prescription needed

Cheap Price For Generic Augmentin (Amoxicillin / Clavulanate) online saturday delivery

 

11934 - http://grandiflora.net/node/62668 ,12200, 51956 - http://grandiflora.net/node/64411 ,12962, 33229 - http://grandiflora.net/node/62323 ,54735, 27358 - http://grandiflora.net/node/61019 ,52339, 42514 - http://grandiflora.net/node/63471 ,7106, 18621 - http://grandiflora.net/node/63972

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now