Welcome Guest Search | Active Topics |

Remove the x-axis labels
Stephan
#1 Posted : Monday, March 26, 2012 11:58:58 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/26/2012(UTC)
Posts: 1

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi jqChart,

I want to remove the labels along the x-axis. How to do that?
dragan
#2 Posted : Monday, March 26, 2012 12:05:45 PM(UTC)
Rank: Administration

Groups: Administrators, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 372

Thanks: 0 times
Was thanked: 70 time(s) in 70 post(s)
Hi Stephan,


You can use this code:


Code:
<%= Html.JQChart().Chart(Model)
                .ID("jqChart")
                .Width("500px")
                .Height("300px")
                .Axes(axis =>
                {
                    axis.CategoryAxis(Location.Bottom).Labels(l => l.Visible(false));
                })...
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked dragan for this useful post.
Stephan on 3/26/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
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.

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.113 seconds.