[
Log In
]
HOME
SAMPLES
DOCS
DOWNLOAD
LICENSING/PRICING
SUPPORT
FORUM
WHAT'S NEW
PRODUCT ROADMAP
ABOUT US
Home
\
Support
\ Forum
Welcome Guest
Search
|
Active Topics
|
ERROR
DataViz Charts and Gauges
»
DataViz Charts Forums
»
DataViz Charts and Gauges for JavaScript/jQuery
»
bar chart grid line label color
bar chart grid line label color
Options
Previous Topic
Next Topic
rickghome
#1
Posted :
Saturday, September 22, 2012 6:41:37 PM(UTC)
Rank: Newbie
Groups: ExpiredLicense, Registered
Joined: 7/28/2012(UTC)
Posts: 6
Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Silly question likely. I have a simple bar chart -- with no options set for axes label on left of each bar. I provide a label and values for each bar. Works great.
I'd like to change the color of the label for each bar (again, this is on the left side of each bar (row). I've tried every combination of color for axis options to no avail. Anyone know how to set this color? Image upload doesn't seem to be working here, so this I'll just draw a lame diagram (see below). I want to change the color of the word "LABELx" below.
LABEL1 | ============================
LABEL2 | ===============
LABEL3 | =================================
Back to top
User Profile
View Thanks
Dragan
#2
Posted :
Sunday, September 23, 2012 3:52:02 AM(UTC)
Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483
Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Try using this code:
Code:
$('#jqChart').jqChart({
axes: [{
type: 'category',
location: 'left',
labels: {
fillStyle: 'red'
}
}],
series: [
{
type: 'Bar',
title: 'Series 1',
data: [['A', 33], ['B', 57], ['C', 13]]
}
]
});
You can check these links as well:
http://www.jqchart.com/samples/ChartAxes/AxisLabels
http://www.jqchart.com/documentation/userguide/default.aspx#!AxisElements
Best Regards,
Dragan Matek
jqChart Inc.
Back to top
User Profile
View Thanks
Users browsing this topic
Guest
DataViz Charts and Gauges
»
DataViz Charts Forums
»
DataViz Charts and Gauges for JavaScript/jQuery
»
bar chart grid line label color
Forum Jump
DataViz Charts Forums
- DataViz Charts and Gauges for JavaScript/jQuery
- DataViz Charts and Gauges for ASP.NET MVC
- DataViz Charts for ASP.NET Web Forms
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
delete your posts in this forum.
You
cannot
edit your posts in this forum.
You
cannot
create polls in this forum.
You
cannot
vote in polls in this forum.
Watch this topic
Email this topic
Print this topic
RSS Feed
Normal
Threaded
FlatEarth Theme by Jaben Cargman (
Tiny Gecko
)
Powered by YAF 1.9.4
|
YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.065 seconds.