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

1928 у кіно

Захаров Федір Захарович

Ель Греко