Comments (6)
Edit: If you actually remove the borderLineStyle from the CPTPieChart you will
get the border as specified in the swatchBorderLineStyle... it is simply hidden
below the borderLineStyle specified in teh CPTPieChart
Original comment by [email protected]
on 26 Nov 2013 at 3:47
from core-plot.
I attached a Screenshot.
As you can see the pieChart has a white Border with a 2.0f lineWidth.
The swatches in the legend get the same border assigned...even though I
specified it to be different.
And here comes another "problem".
What if I actually want to have a different border for each swatch?
I do not need this right now, but it would be nice.
With that said: Thank you very muhc for your great library. You did a great
job. Thanks a lot!
Original comment by [email protected]
on 26 Nov 2013 at 3:56
Attachments:
- [iOS Simulator Bildschirmfoto 26.11.2013 16.51.52.png](https://storage.googleapis.com/google-code-attachments/core-plot/issue-609/comment-2/iOS Simulator Bildschirmfoto 26.11.2013 16.51.52.png)
from core-plot.
This is working as designed. The legend swatch is drawn first with the given
fill and border and then the plot draws over top with additional elements
depending on the plot type. The pie chart uses the pie chart border and slice
fill for the swatch.
We can add configuration options to customize the pie chart swatches.
You can use the -legend:shouldDrawSwatchAtIndex:forPlot:inRect:inContext:
legend delegate method to draw custom legend swatches. We can add new legend
delegate methods to customize the swatch fills and borders without resorting to
custom drawing.
Original comment by [email protected]
on 27 Nov 2013 at 1:03
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from core-plot.
Thanks for clearifying this to me.
It would be great if you'd add thie once you find the time :)
Thanks in advance
Original comment by [email protected]
on 27 Nov 2013 at 7:01
from core-plot.
Original comment by [email protected]
on 21 Dec 2013 at 1:53
- Changed state: Started
from core-plot.
This issue was closed by revision abd3486e2ba0.
Original comment by [email protected]
on 21 Dec 2013 at 5:15
- Changed state: Fixed
from core-plot.
Related Issues (20)
- CPTAnimation is not thread safe HOT 5
- Update podspec (maybe move project to github?) HOT 1
- segment date on axis HOT 3
- Anchor alternatingBandFills to fixed locations so the band colors do not change when scrolling HOT 1
- Unexpected animationCancelled: notification HOT 6
- No longer builds in Xcode 4.6 HOT 2
- CPTAnimation crash on commit 49ebaf7a84b520c85413bc4396dbeb6b1c58477e HOT 2
- xxxWasSelectedAtRecordIndex should fire on UP events, not down HOT 13
- Restore compatibility for Leopard HOT 5
- CPTScatterPlotInterpolationCurved Type not working Correctly HOT 3
- Grid lines should update when set to nil HOT 2
- Apple Rejected app for UDID code within Core-Plot HOT 3
- Ability to add gesture recognizers to any CPTLayer based object HOT 2
- log scale minor ticks spacing looks incorrect HOT 2
- Add accessibility support HOT 1
- Adds support for scaling and panning on Mac via Trackpad and Magic Mouse HOT 3
- X Axis Label Truncation HOT 2
- Add annotation for single plot in CPTXYgraph HOT 1
- Core Plot will not compile in Xamarin HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core-plot.