- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Customisation in the graph builder?
Dear JMP users,
I am using graph builder to present my data in an interactive way. Suppose I use big class data, I am looking for summation of total weight of male and female separately. This should update as I interact with the height. I have used caption box now. I have tried using script as below. But can this be made better and more presentable?. Any help or idea is would be really great.
Graph Builder(
Size( 1121, 922 ),
Variables( X( :weight ), Group X( :sex ), Overlay( :sex ) ),
Elements(
Histogram( X, Legend( 4 ) ),
Caption Box( X, Legend( 5 ), Summary Statistic( "Sum" ) )
),
Local Data Filter(
Add Filter( columns( :height ), Where( :height >= 51 & :height <= 70 ) )
),
SendToReport(
Dispatch(
{},
"weight",
ScaleBox,
{Min( 60 ), Max( 180 ), Inc( 200 ), Minor Ticks( 0 )}
)
)
)
Thanks
San
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Customisation in the graph builder?
San,
Nice job. The only thing that I might do is to change the Caption Boxes to make them a little more visable. You can easily do this by Right Clicking on the graph, and then selecting "Customize...".
If you select the "Text" entry, you can change the font, color, size, etc. You have to do it once for each side of the graph.
You can then Save the Script and it will give you the JSL that changed the Caption Boxes
Graph Builder(
Size( 1172, 872 ),
Variables( X( :weight ), Group X( :sex ), Overlay( :sex ) ),
Elements(
Histogram( X, Legend( 4 ) ),
Caption Box( X, Legend( 5 ), Summary Statistic( "Sum" ) )
),
Local Data Filter(
Add Filter( columns( :height ), Where( :height >= 51 & :height <= 70 ) )
),
SendToReport(
Dispatch(
{},
"weight",
ScaleBox,
{Min( 60 ), Max( 180 ), Inc( 200 ), Minor Ticks( 0 )}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
{DispatchSeg( TextSeg( 1 ), {Font( "Showcard Gothic", 14, "Bold" )} )}
),
Dispatch(
{},
"Graph Builder",
FrameBox( 2 ),
{DispatchSeg( TextSeg( 1 ), {Font( "Segoe UI", 14, "Bold" )} )}
)
)
);