iOS Charts remove values on the bar of the bar chartHow to remove the value label above each bar in bar chart for ios-chartsConvert bar chart to a grouped bar chart with danielgindi/ios-charts and SwiftCharts: Get selected bar data only when tapped inside the barMultiple bar chart group spacing issueHow to remove extra line at the bottom of bar chart using ios charts?Bar chart with Gradient: iOS SwiftIOS Charts bar chart inconstant resultsSwift charts - x axis values not aligned with bars in Group bar chartHorizontal Bar chart Swiftdanielgindi/Charts - iOS - Set Label above Specific bar on bar chartHow to put bar's value inside bar on HorizontalBarChartView of Swift iOS Charts?

"You are your self first supporter", a more proper way to say it

Today is the Center

Email Account under attack (really) - anything I can do?

What would happen to a modern skyscraper if it rains micro blackholes?

Why do I get two different answers for this counting problem?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

How to format long polynomial?

Modeling an IPv4 Address

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Problem of parity - Can we draw a closed path made up of 20 line segments...

What is the offset in a seaplane's hull?

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Maximum likelihood parameters deviate from posterior distributions

How can bays and straits be determined in a procedurally generated map?

Mathematical cryptic clues

How do I create uniquely male characters?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

How does one intimidate enemies without having the capacity for violence?

Arthur Somervell: 1000 Exercises - Meaning of this notation

Why can't I see bouncing of a switch on an oscilloscope?

Can divisibility rules for digits be generalized to sum of digits

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Is this a crack on the carbon frame?



iOS Charts remove values on the bar of the bar chart


How to remove the value label above each bar in bar chart for ios-chartsConvert bar chart to a grouped bar chart with danielgindi/ios-charts and SwiftCharts: Get selected bar data only when tapped inside the barMultiple bar chart group spacing issueHow to remove extra line at the bottom of bar chart using ios charts?Bar chart with Gradient: iOS SwiftIOS Charts bar chart inconstant resultsSwift charts - x axis values not aligned with bars in Group bar chartHorizontal Bar chart Swiftdanielgindi/Charts - iOS - Set Label above Specific bar on bar chartHow to put bar's value inside bar on HorizontalBarChartView of Swift iOS Charts?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1















I am using https://github.com/danielgindi/Charts
enter image description here



How to hide the values which are shown on each bar.
My code is as below



func setUpChartView()
viewGraphContent.delegate = self
viewGraphContent.pinchZoomEnabled = false
viewGraphContent.chartDescription?.enabled = true
viewGraphContent.dragEnabled = false
viewGraphContent.setScaleEnabled(false)
viewGraphContent.highlightFullBarEnabled = true
viewGraphContent.doubleTapToZoomEnabled = false
viewGraphContent.drawBordersEnabled = true
viewGraphContent.borderColor = UIColor.white
viewGraphContent.borderLineWidth = 1
viewGraphContent.legend.enabled = false










share|improve this question



















  • 1





    That data you are pointing is of BarChartDataEntry. Can you show your code?

    – Sachin Vas
    Feb 14 at 10:14







  • 1





    Possible duplicate of this: stackoverflow.com/questions/36193312/…

    – Magnas
    Feb 14 at 10:19

















-1















I am using https://github.com/danielgindi/Charts
enter image description here



How to hide the values which are shown on each bar.
My code is as below



func setUpChartView()
viewGraphContent.delegate = self
viewGraphContent.pinchZoomEnabled = false
viewGraphContent.chartDescription?.enabled = true
viewGraphContent.dragEnabled = false
viewGraphContent.setScaleEnabled(false)
viewGraphContent.highlightFullBarEnabled = true
viewGraphContent.doubleTapToZoomEnabled = false
viewGraphContent.drawBordersEnabled = true
viewGraphContent.borderColor = UIColor.white
viewGraphContent.borderLineWidth = 1
viewGraphContent.legend.enabled = false










share|improve this question



















  • 1





    That data you are pointing is of BarChartDataEntry. Can you show your code?

    – Sachin Vas
    Feb 14 at 10:14







  • 1





    Possible duplicate of this: stackoverflow.com/questions/36193312/…

    – Magnas
    Feb 14 at 10:19













-1












-1








-1








I am using https://github.com/danielgindi/Charts
enter image description here



How to hide the values which are shown on each bar.
My code is as below



func setUpChartView()
viewGraphContent.delegate = self
viewGraphContent.pinchZoomEnabled = false
viewGraphContent.chartDescription?.enabled = true
viewGraphContent.dragEnabled = false
viewGraphContent.setScaleEnabled(false)
viewGraphContent.highlightFullBarEnabled = true
viewGraphContent.doubleTapToZoomEnabled = false
viewGraphContent.drawBordersEnabled = true
viewGraphContent.borderColor = UIColor.white
viewGraphContent.borderLineWidth = 1
viewGraphContent.legend.enabled = false










share|improve this question
















I am using https://github.com/danielgindi/Charts
enter image description here



How to hide the values which are shown on each bar.
My code is as below



func setUpChartView()
viewGraphContent.delegate = self
viewGraphContent.pinchZoomEnabled = false
viewGraphContent.chartDescription?.enabled = true
viewGraphContent.dragEnabled = false
viewGraphContent.setScaleEnabled(false)
viewGraphContent.highlightFullBarEnabled = true
viewGraphContent.doubleTapToZoomEnabled = false
viewGraphContent.drawBordersEnabled = true
viewGraphContent.borderColor = UIColor.white
viewGraphContent.borderLineWidth = 1
viewGraphContent.legend.enabled = false







ios swift bar-chart ios-charts






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 4:34









DevB2F

1,94821332




1,94821332










asked Feb 14 at 9:37









PersianBluePersianBlue

33221137




33221137







  • 1





    That data you are pointing is of BarChartDataEntry. Can you show your code?

    – Sachin Vas
    Feb 14 at 10:14







  • 1





    Possible duplicate of this: stackoverflow.com/questions/36193312/…

    – Magnas
    Feb 14 at 10:19












  • 1





    That data you are pointing is of BarChartDataEntry. Can you show your code?

    – Sachin Vas
    Feb 14 at 10:14







  • 1





    Possible duplicate of this: stackoverflow.com/questions/36193312/…

    – Magnas
    Feb 14 at 10:19







1




1





That data you are pointing is of BarChartDataEntry. Can you show your code?

– Sachin Vas
Feb 14 at 10:14






That data you are pointing is of BarChartDataEntry. Can you show your code?

– Sachin Vas
Feb 14 at 10:14





1




1





Possible duplicate of this: stackoverflow.com/questions/36193312/…

– Magnas
Feb 14 at 10:19





Possible duplicate of this: stackoverflow.com/questions/36193312/…

– Magnas
Feb 14 at 10:19












1 Answer
1






active

oldest

votes


















3














Add following line of code where you setup sets of chart to fix your issue:



var set = BarChartDataSet(values: yVals, label: "Data Set") 
set.drawValuesEnabled = false // Set this property to false to hide all values

let data = BarChartData(dataSet: set)
yourChartView.data = data


This code will hide all values above bar chart. I hope this will help you.






share|improve this answer

























  • Thanks that helped

    – PersianBlue
    Feb 14 at 10:54











  • Happy to help you. :)

    – Sagar Chauhan
    Feb 14 at 11:02











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54687215%2fios-charts-remove-values-on-the-bar-of-the-bar-chart%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














Add following line of code where you setup sets of chart to fix your issue:



var set = BarChartDataSet(values: yVals, label: "Data Set") 
set.drawValuesEnabled = false // Set this property to false to hide all values

let data = BarChartData(dataSet: set)
yourChartView.data = data


This code will hide all values above bar chart. I hope this will help you.






share|improve this answer

























  • Thanks that helped

    – PersianBlue
    Feb 14 at 10:54











  • Happy to help you. :)

    – Sagar Chauhan
    Feb 14 at 11:02















3














Add following line of code where you setup sets of chart to fix your issue:



var set = BarChartDataSet(values: yVals, label: "Data Set") 
set.drawValuesEnabled = false // Set this property to false to hide all values

let data = BarChartData(dataSet: set)
yourChartView.data = data


This code will hide all values above bar chart. I hope this will help you.






share|improve this answer

























  • Thanks that helped

    – PersianBlue
    Feb 14 at 10:54











  • Happy to help you. :)

    – Sagar Chauhan
    Feb 14 at 11:02













3












3








3







Add following line of code where you setup sets of chart to fix your issue:



var set = BarChartDataSet(values: yVals, label: "Data Set") 
set.drawValuesEnabled = false // Set this property to false to hide all values

let data = BarChartData(dataSet: set)
yourChartView.data = data


This code will hide all values above bar chart. I hope this will help you.






share|improve this answer















Add following line of code where you setup sets of chart to fix your issue:



var set = BarChartDataSet(values: yVals, label: "Data Set") 
set.drawValuesEnabled = false // Set this property to false to hide all values

let data = BarChartData(dataSet: set)
yourChartView.data = data


This code will hide all values above bar chart. I hope this will help you.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 14 at 10:34

























answered Feb 14 at 10:29









Sagar ChauhanSagar Chauhan

2,5601727




2,5601727












  • Thanks that helped

    – PersianBlue
    Feb 14 at 10:54











  • Happy to help you. :)

    – Sagar Chauhan
    Feb 14 at 11:02

















  • Thanks that helped

    – PersianBlue
    Feb 14 at 10:54











  • Happy to help you. :)

    – Sagar Chauhan
    Feb 14 at 11:02
















Thanks that helped

– PersianBlue
Feb 14 at 10:54





Thanks that helped

– PersianBlue
Feb 14 at 10:54













Happy to help you. :)

– Sagar Chauhan
Feb 14 at 11:02





Happy to help you. :)

– Sagar Chauhan
Feb 14 at 11:02



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54687215%2fios-charts-remove-values-on-the-bar-of-the-bar-chart%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved