Welcome Guest Search | Active Topics |

No chrome
yelkereb
#1 Posted : Friday, December 28, 2012 3:33:44 PM(UTC)
Rank: Newbie

Groups: MvcChart, Registered, WebFormsChart
Joined: 11/15/2012(UTC)
Posts: 4

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I'd like to render an element that is only a single bar. I want to be able to disable all of the chrome elements including the scale/axeses, labels, etc. I just want to be able to specificy the range and have it render the bar in a predictable scale.

I know I could probably just figure this out in canvas myself since it doesn't utilize most of the functionality that the tool provides but since we're using the tool elsewhere it would be nice to just use this if I can.
Dragan
#2 Posted : Wednesday, January 02, 2013 6:41:17 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)
You can render just a single bar with:

Code:
<jqChart:Chart ID="Chart1" Width="200px" Height="300px" runat="server">
        <Legend Visible="false"></Legend>
        <Animation Enabled="True" Duration="00:00:01" />
        <Axes>
            <jqChart:LinearAxis Location="Left" LineWidth="0" Minimum="0" Maximum="100">
                <Labels Visible="false"></Labels>
                <MajorTickMarks Visible="false"></MajorTickMarks>
                <MajorGridLines Visible="false"></MajorGridLines>
            </jqChart:LinearAxis>
            <jqChart:CategoryAxis Location="Bottom" LineWidth="0">
                <Labels Visible="false"></Labels>
                <MajorTickMarks Visible="false"></MajorTickMarks>
            </jqChart:CategoryAxis>
        </Axes>
        <Series>
            <jqChart:ColumnSeries>
                <XValues>
                    <jqChart:StringValue Value="Label" />
                </XValues>
                <YValues>
                    <jqChart:DoubleValue Value="70" />
                </YValues>
            </jqChart:ColumnSeries>
        </Series>
    </jqChart:Chart>


We have big plans for creating a full set of data visualization controls – gauges, sparklines, geographic map, treemap, etc. So requirements like yours will be created with easy.

You can check our gauges samples:
http://www.jqchart.com/jquery/gauges

Currently, we still don't have ASP.NET Web Forms Wrappers for them, but we’re working on this.
Best Regards,
Dragan Matek
jqChart Inc.
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.104 seconds.